Qurak

Constrained optimization local numerical introduction

Tutorial 3 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
Minimize[{x - y, -3 x^2 + 2 x y - y^2 ≥ -1}, {x, y}]
Uitvoer
Minimize[{x - y, -3*x^2 + 2*x*y - y^2 >= -1}, {x, y}]
Stap 2
NMinimize[{x - y, -3 x^2 + 2 x y - y^2 ≥ -1}, {x, y}]
Uitvoer
{-0.9999999999999983, {x -> -2.6829876645246468*^-8, y -> 0.9999999731701217}}
Stap 3
FindMinimum[{x - y, -3 x^2 + 2 x y - y^2 ≥ -1}, {x, y}]
Uitvoer
{-0.9999999999999983, {x -> -2.6829876645246468*^-8, y -> 0.9999999731701217}}

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client