To return from multiple objectives to single-objective optimization,
- set the model attribute NumObj to 0,
- call update() on the model, and
- reset the primary objective function via setObjective().
To query the current optimization mode, use model attribute IsMultiObj.
Comments
0 comments
Article is closed for comments.