maximize, minimize
| maximize, minimize | 
  Purpose
 
  
  Synopsis
 
 procedure maximize(obj:linctr)
 procedure maximize(nlobj:nlctr)
 procedure minimize(obj:linctr)
 procedure minimize(nlobj:nlctr)
 
  Arguments
 
 | 
     obj 
     | 
     Linear objective function
     | 
| 
     nlobj 
     | 
     Nonlinear objective function
     | 
  Example
 
 
 The following maximizes the nonlinear objective
 Obj.
 
 uses "nlsolv" declarations x,y,z: mpvar Obj: nlctr end-declarations ... Obj:= x*y + z^3 maximize(Obj)
  Further information
 
 
 This procedure calls a solver to maximize/minimize the current problem (excluding all hidden constraints) using the given constraint as objective function. Before this procedure is called, a solver must have been chosen (using either parameter
 NL_solver or
 NL_solverpath).
 
 
  Related topics
 
  
  Module
 
  
