0

Suppose we have the following:

 proc optmodel;
     var  x{1..3} <= 1 integer;

I want the variables to be 0 and 1 only. How do I specify this in the above statement?

4

1 回答 1

1

认为您可以直接指定如下:

proc optmodel;
 var  x{1..3} binary;
于 2012-05-17T07:22:21.083 回答