Binary(discrete) variables in PATH solver?

Problems with modeling
Post Reply
yucono
User
User
Posts: 1
Joined: 1 week ago

Binary(discrete) variables in PATH solver?

Post by yucono » 1 week ago

Dear helpers,

Is there anyways to have Binary(discrete) variables in PATH solver ?
The error message tells that "discrete variables can only apprear in MIP, RMIP, MINLP, RMINLP, MIQCP, RMIQCP, MPEC, RMPEC. "
I need to use PATH to deal with complementarity issues, but now I got stuck with binary.

Here is the codes I am using

Binary variable
z(t);

Cumulative(t) .. b(t) =e= (1-m)*(l(t)-y(t)) + b2(t-1) + u2(t) - q(t) ;

Model EATAS / ....., Cumulative.z , .......... /;
option mcp = path;
solve EATAS using mcp;

Thank you very much in advance !

Post Reply