RainbowStats™ · Optimization commands

SET_LP_OBJECTIVE

Set the objective of an ordinary LP.

Syntax

SET_LP_OBJECTIVE(model,objectiveExpression)

Example

SET_LP_OBJECTIVE(P,3*X+2*Y)

Details

Looks up a named LPOperator and passes the second argument as raw trimmed text. Use a bare expression such as 3*X+2*Y so it is handed directly to the LP parser. This command does not set the quantile-loss objective of LP_REGRESSION.

No result-specific extract inventory was verified for this returned type. Empty metadata does not establish that extraction is unavailable.