Primary Optimization Functions
Using just these four functions, you will be able to define any optimization and view results.
- DefineOptimization()
- OptSolution()
- OptObjective()
- OptObjectivesa()
DefineOptimization()
This function defines an optimization problem. It automatically determines the type of optimization: LP, QP, or NLP.[1] If you want to specify a particular type of optimization instead of having Analytica make the choice auto-matically, use DefineOptimization() with the optional Type parameter (see sub-section below).
When DefineOptimization() is evaluated, it returns a special object, which displays as: «LP», «QP», «QCP», «NCQCP», «NLP», or «NSP», depending on the type of problem. This object encapsulates an encoding of the problem definition that is passed to the solution functions.
Double-clicking on the special object in the DefineOptimization() evaluation window will display a new window containing details about the optimization. The new window may also contain clickable objects that let you drill down to more specific levels of detail.
Notes
<references>
See Also
- ↑ DefineOptimization() replaces LpDefine(), QpDefine() and NlpDefine() used in Analytica Optimizer releases previous to 4.3. These legacy functions are still supported for backward compatibility with older models. See the Analytica Wiki wiki.lumina.com for details.)
Enable comment auto-refresher