LP

The LP command gives the solution to a linear programming problem

In general, the format is:

  LP c A b / options


The available options are:

Option Description
DUMP Prints information for SHAZAM consultants.
MIN Indicates that the problem is a MINimization problem.
ITER= Maximum number of iterations.
DUAL= Saves the dual solution in the vector specified.
DSLACK= Saves the dual slack variables in the vector specified.
PRIMAL= Saves the primal solution in the vector specified.
PSLACK= Saves the primal slack variables in the vector specified.

The temporary variable $VAL stores the value of the objective function.