set_integer
set_integer |
Purpose
This method turns a variable into an integer variable in a linear relaxation.
Synopsis
procedure set_integer(relax:cplinrelax, var:cpauxvar, global:boolean)
procedure set_integer(relax:cplinrelax, var:cpvar, global:boolean)
Arguments
relax
|
a linear relaxation
|
var
|
a relaxation variable
|
global
|
true for a discrete variable,
false otherwise
|
Example
The following example shows how to use the set_integer routine.
set_integer(myrelax, xaux, true)
Related topics