The following command allows you to use the short form of the command names in the Optimization package.
The commands in the Optimization package allow you to specify the objective function and the constraints in several different ways. This worksheet deals with the algebraic form of the objective function and constraints. The other forms are Matrix form and procedure form where Matrix form is covered in a separate example worksheet.
In general, an optimization problem is of the form
min where is in
subject to for in , for in
The Optimization package handles several types of objective and constraint functions. Each type of problem is a subtype of the next one.
Objective Function/Constraint/Command
Linear/Linear/LPSolve
Quadratic/Linear/QPSolve
Nonlinear(General)/Nonlinear(General)/NLPSolve
There is also a minimize command that will attempt to automatically select the best algorithm for a given problem.
In addition, there is a command, LSSolve, which minimizes functions of the form