New answers tagged mathematical-optimization
6
votes
Accepted
0
votes
Accepted
1
vote
Approximate strictly positive solution to a linear set of equations?
THIS IS AN EXTENDED COMMENT RATHER THAN AN ANSWER.
It is inefficient to use Table to generate random numbers.
...
10
votes
Nonnegative Least Squares Algorithm (NNLS)
We can compare 6 algorithms based on FindMinimum,NMinimize, ConvexOptimization, ...
3
votes
Solution to a linear equation with minimum rank
Your transposed equation looks like Transpose[M].Transpose[X]==Transpose[A]
LeastSquares finds the minimal solution
...
2
votes
5
votes
7
votes
Optimize cost when ordering wood boards (cutting stock problem)
(Solution to original problem further below)
MarcoB indicated useful keywords in his comment, in particular this problem is a subclass of the cutting stock problem.
For the reference, two links that I ...
1
vote
Accepted
6
votes
Find the maximum of a given function
First numerical analysis give a strong hint, that maximum does not depend on m. Test it with different k and m. Leave it to you to proof it exactly.
...
1
vote
How to take the derivative with respect to a function with more than one variable?
I understand that you want to calculate dp/dq. That is the ratio of the change of p to the change of q if x is changed an infinite small amount.
To make it simpler I insert the constants and define:
<...
5
votes
How to get a rational solution of the linear system efficiently?
Get the same result about four times faster with NMinimize and rationalization. (Using the format for variables, @BobHanlon proposed.)
...
Top 50 recent answers are included
Related Tags
mathematical-optimization × 1913equation-solving × 180
plotting × 128
numerics × 125
performance-tuning × 115
fitting × 110
differential-equations × 102
calculus-and-analysis × 94
numerical-integration × 70
matrix × 62
list-manipulation × 61
linear-algebra × 60
functions × 51
maximum × 47
warning-messages × 46
constraint × 43
symbolic × 41
probability-or-statistics × 40
programming × 37
graphs-and-networks × 33
function-construction × 32
nonlinear × 32
regions × 26
interpolation × 25
geometry × 24