>
|
|
Find the global solution to an unconstrained nonlinear minimization problem in Matrix form.
>
|
p := proc(V) V[1]^2-V[1]+1 end proc:
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
Consider the objective function and constraints and .
Express the objective function as a procedure.
>
|
p:= proc(V) -4*V[1]+V[1]*V[2]-5*V[2] end proc:
|
Express the constraints in a single procedure with the parameters V and W.
>
|
nlc := proc(V, W)
W[1] := 5*V[1]+4*V[2]^2-20;
W[2] := 3*V[1]^2+2*V[2]-6
end proc:
|
Express the bounds in Matrix form.
>
|
|
>
|
|
>
|
|
Find the global minimum with GlobalSolve.
>
|
|
| (2) |