Qurak

Constrained optimization introduction global optimization

Tutorial 3 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
Minimize[{x, x^2 + y^2  < 1}, {x, y}]
Output
{-1, {x -> -1, y -> 0}}
Step 2
Minimize[{x^2, x y == 1}, {x, y}]
Output
Minimize[{x^2, x*y == 1}, {x, y}]
Step 3
Minimize[{x^2 + (y - 1)^2, y > x^2}, {x, y}]
Output
{0, {x -> 0, y -> 1}}

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client