mathematical-optimization
Minimizing a function in matlab
I would like to minimize w\'Hw, with respect to w, where w is a vector, and H is matrix. And with the following constraint, |w1|+|w开发者_StackOverflow中文版2|+|w3| < 3, ie. the l1 norm of the we[详细]
2023-04-02 14:11 分类:问答What is the best way to see if a group of items is placed within a specific part of an array?
(See example below to fully understand what I\'m asking) I have an array of items that I will put other items into and remove items out of depending on user choices. This array always has an \"active[详细]
2023-04-01 07:17 分类:问答MATLAB: LSQNONLIN changes in R2011a?
I\'m working with a matlab code package that was handed down to me. It was written in R2007b version, and I saw it perform. My lab just acquired R2011a and although the package runs without errors, it[详细]
2023-03-31 07:18 分类:问答Algorithm to find the global minimal distance between item pairs
The items a-d are to be paired with items 0-3 in such a way that the total distance between all item pairs are minimized. For example, this matrix could describe the distance between each item in the[详细]
2023-03-29 04:53 分类:问答NMinimize eats all memory b/c of unnecessary symbolic work
The following code is a naive way to find the least number whose square has n divisors (the minimum should be its log and the x_i the powers in its prime factorization). If I look at the case n=2000 a[详细]
2023-03-26 16:19 分类:问答Find highest total price by selling items to multiple buyers, limited by user input to how many separate sales can be made
EDIT: Im sorry guys my explantion of the problem wasn\'t clear! This should be better: User sends ID numbers of articles and the max. number of bundles(packages)[详细]
2023-03-23 16:01 分类:问答Meaning of relative tolerance in minimization routine (minpack's hybrd1)
I am using a port of minpack\'s hybrd1 in Eigen which uses Powell\'s method to find solution of f(x)=0; the jacobian is computed numerically, in this case.[详细]
2023-03-23 15:37 分类:问答Fast inverse square root on the iPhone
The fast inverse square function used by SGI/3dfx and most notably in Quake is often cited as being faster than the assembly instruction equivalent, however the posts claiming that seem quite dated. I[详细]
2023-03-19 23:22 分类:问答Limitation of Mathematica optimization module
I have a question regarding Mathematica\'s global optimization capability. I came across this text related to the NAG toolbox (kind of white paper).[详细]
2023-03-19 09:07 分类:问答DerivativeCheck fails with minFunc
I\'m trying to train a single layer of an autoencoder using minFunc, and while the cost function appears to decrease, when enabled, the DerivativeCheck fails. The code I\'m using isas close to textboo[详细]
2023-03-18 22:03 分类:问答