setmipdir


Purpose
Set a directive on a variable or Special Ordered Set.
Synopsis
procedure setmipdir(x:mpvar,t:integer,r:real)
procedure setmipdir(x:mpvar,t:integer)
procedure setmipdir(c:linctr,t:integer,r:real)
procedure setmipdir(c:linctr,t:integer)
Arguments
A decision variable
A linear constraint (of type SOS)
A real value
Directive type, which may be one of:
XPRS_PR 
r is a priority (integer value between 1 and 1000 where 1 is the highest priority, 1000 the lowest)
XPRS_UP 
Force up first
XPRS_DN 
Force down first
XPRS_PU 
r is an up pseudo cost
XPRS_PD 
r is a down pseudo cost
XPRS_BR 
Force branching even if satisfied
Further information
This procedure sets a directive on a global entity. Note that the priority value is converted into an integer. The directives are loaded into the Optimizer at the same time as the problem itself.
Related topics
clearmipdir, readdirs, writedirs.
Module
mmxprs


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.