Minimization is a subclass of mathematical optimization where given a cost or objective function, the goal is to choose the best set of parameters that will minimize the value given by this function.
Questions tagged [minimization]
529 questions
0
votes
1 answer
constrained optimization of quadratic function
I am using the alabama package to optimize a non-linear constrained optimization problem.
The problem is:
minimise: -(0.653*x[1]+ 0.234* x[1]*x[1]+ 0.437 * x[2] + 0.769 * x[3]
+0.453 * x[4] + 0.744 * x[5] + 0.476 * x[5]* x[5])
The equality…

Arc
- 1,680
- 6
- 30
- 57
0
votes
1 answer
How to scale up the good variable for minimization algorithm
I am using quasi newton algorithm(Numerical recipes) for minimization in which i have to assign the variables. I selected some variables but i do not know those are good scale up variables. Is anybody knows how to scale up the good variable.
I have…

veera
- 11
- 6
0
votes
1 answer
How to minimize jade script tag by using uglifyjs?
I have the following script tag in my jade file:
!!!5
html(lang="en")
head
body
script(type='text/javascript')
function something() {
alert("test")
}
How can I minimized by using uglifyjs or any existing…

Erik
- 14,060
- 49
- 132
- 218
0
votes
1 answer
Ways of ensuring parameters 'sum to one' during function minimisation
I'm trying to perform a minimisation where some parameters must sum to one using PyMinuit. I'm wondering if there is a standard method of implementing this kind of thing?
Is it usual to set the function to some large value if the constraint is not…

user1353285
- 191
- 1
- 10
0
votes
1 answer
Which library can efficiently deal with corner solutions in R?
At the moment I'm trying to do a minimization (optimization) problem in R, where I have a vector X1 that I want to approximate through a weighted average of a matrix X2 and a vector of weights w. That means I want to minimize
wg <- function(w)
{
…

Julius
- 15
- 5
0
votes
1 answer
How to restore bitmap after application minimization?
I have a drawing application. I need the application to recover from minimization (clicking back until the application minimizes). As i understood from several forums the best way and the simplest to do it is by saving the bitmap to a local…

Ilazar1x
- 59
- 11
-1
votes
1 answer
Is it possible to have more than one minimal DFA 's for a regular language?
If we create two DFA's for a language L say DFA A and DFA B. Then, after minimising the DFA's we get their corresponding equivalent minimal DFA's . Is It always the case that both minimal DFA's have same number of states?
I designed 2 DFAs for a…

Digvi_sp
- 17
- 2
-1
votes
1 answer
Why are the optimized solutions different with scipy.optimize.minimize with small variations in initial guesses?
I am working on a detailed code that requires optimization, which I have simplified for the MWE. I am trying to find the optimal value of arg_opt that minimizes the value that is obtained from a different function.
I believe it is a simple error or…

Tom Kurushingal
- 6,086
- 20
- 54
- 86
-1
votes
2 answers
Fitting two functions sharing same parameters to data
Assume that I have two functions describing one phenomena in the same range (x-axis). Both are sharing same parameters, but also can have their own. How can I fit them or minimize the errors to experimental data using SciPy or Lmfit >>AT ONCE< I…

Mimi
- 95
- 1
- 10
-1
votes
1 answer
Can you minimize a Boolean expression having don't care conditions using Boolean algebraic laws?
I have to minimise a boolean expression in SOP form having don't care conditions. I can do this by k-map but can I do this only using Boolean algebraic laws.
Q. Sigma(0,2,3,5,6,7,8,9) + d(10,11,12,13,14,15)

anas16
- 68
- 10
-1
votes
1 answer
Can PSO work based on experimentel data with ODEs?
I would like to optimize a differential equation's parameters. I have a dataset, which contains the measured values, and I would like to get similar results with help of differential equations. When I read Python pyswarm module's documentation, I…

dev1
- 49
- 3
-1
votes
1 answer
How can I bound type variable to integer in scipy minimization?
I use from scipy for minimization.
Variable must to be 0 or 1.
How can I do this?

zed khaleghi
- 27
- 1
- 6
-1
votes
1 answer
Minimize optimization with constraints from multiple sets of options
I am looking for a way to minimize costs with multiple constraints by selecting one option per group out of a large dataset with groups that each contain options. The dataset consists of around 100 groups with 200 options each.
Below is a list of…

atoomkern
- 5
- 2
-1
votes
1 answer
Constrained minimization in MATLAB
I want to solve a constrained minimization problem and I am asking for some help on how to structure the code.
I understand that fmincon is what I should use by playing with the argument @mycon but I am struggling in adapting it to my case. Any…

TEX
- 2,249
- 20
- 43
-1
votes
2 answers
How to allow minimifying of public functions names in Javascript?
I don't know whether there is a solution to this issue, but I have a large set of Javascript functions bearing long descriptive names, something like:
function getTimeFromTimezoneInMilliseconds(...) { ... };
function…

Jérôme Verstrynge
- 57,710
- 92
- 283
- 453