As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [mathematical-optimization]

Questions on the optimization functions of Mathematica such as FindMinimum/FindMaximum, Minimize/Maximize, NMinimize/NMaximize, etc.

455 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
65 views

Manipulate and Plot of Tangent Point in Optimization Problem with Kinked Constraint: Solve and PieceWise Problems

I'm trying to illustrate an optimization problem with a piecewise constraint creating a kink at the maximum value of T if n>0. ...
• 307
1 vote
38 views

Minimization over Booles

I would like to set my domain of NMinimize so that my variables take values in {1,0}. I know I can use ...
• 4,233
1 vote
53 views

Minimize doesn't work with more parameters

In the code I wrote there is a ParametricNDSolve with four parameters. I want to minimize an error function with Minimize. If I consider ParametricNDSolve with just one parameter everything works, and ...
• 97
1 vote
59 views

Find parameter ranges of a function whose value is within a window by sampling points

Problem: I want to find the ranges of the parameters for a function $f(x,y,z)$ when $0.9 < f(x,y,z) < 1.1$. All parameters are bounded $x , y, z \in [0,1]$. In the real problem the function ...
• 111
1 vote
41 views

True global minima of 6 parameter rational function

I need to find the value and positions of the global minima of a 6 parameter rational function. My current try is something like ...
• 383
1 vote
65 views

• 533
1 vote
248 views

LinearProgramming function cannot find a feasible solution

I have got a specific LP optimization problem as attached picture. Given a integer n and $\varepsilon,\ p \in (0,1)$, this is a LP optimization over 2n+3 variables. I am trying to solve this with ...
• 61
1 vote
92 views

Using FindMinimum of a function imported via DefineDLLFunction

Mathematica newbie here, just used it today for the first time. So I've successfully "imported" a function from a dll I've built (in C++ with VS), using .NET/LINK and DefineDLLFunction and I've ...
• 111
1 vote