setdefvar
setdefvar |
Purpose
Set a variable to be purely defined by a constriant.
Synopsis
procedure setdefvar(var:mpvar, row:linctr)
procedure setdefvar(var:mpvar, row:nlctr)
Arguments
var
|
The variable being made defined by the constraint.
|
row
|
The constraint that defines the value of the variable.
|
Further information
The variable will be made free (its bounds removed) since it's value is now defined by the contraint's value. Ideally, the variable should appear linearly in the constriant, in which case unless a circular reference is detected it will used for eliminate on in the nonlinear presolver. The purpose of the construct is to break large nonliner expressions.
Related topics
Module