>
|
|
Use the LPSolve command to solve a linear program. The assume=nonnegative option specifies that the problem variables x and y are non-negative. The solution consists of the final objective function value followed by the final values for x and y.
>
|
|
| (1) |
Use the NLPSolve command to find a local minimum, starting from a given initial point.
>
|
|
| (2) |
The Minimize command automatically selects the most appropriate solver.
>
|
|
| (3) |
Use the Matrix form of the LSSolve command to minimize the norm of subject to .
>
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (4) |