indicator


Purpose
Create an indicator constraint.
Synopsis
function indicator(type:integer,y:mpvar,ctr:linctr):logctr
Arguments
type 
The indicator type:
-1 
for indicator y=0 -> ctr
for indicator y=1 -> ctr
The variable associated to the constraint
ctr 
The linear constraint
Return value
A new logctr representing the indicator.
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.