Description Usage Arguments Details
Sets an objective function as the current model context
1 | use_objective(ampl, objective)
|
ampl |
|
objective |
Character name of the objective function to be solved |
Call this function if your model has multiple objectives defined in order to switch between them. This only alters the state of the model environment and doesn't execute the solver.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.