Cplex indicator constraints

Hi

I’m trying to switch from using a big M formulation to give me absolute values in a MIP to using indicator constraints. I have a constraint that looks like this:

EQUATION EQ_MGA_LIM_P_UP(MGA_FUEL) ;

EQ_MGA_LIM_P_UP(MGA_FUEL) … MGA_ACT_POS(MGA_FUEL) =e= 0 ;

where MGA_FUEL is a set of three indices. I then put

indic EQ_MGA_LIM_P_UP(MGA_FUEL)$BIN_VAR(MGA_FUEL) 0

into the cplex option file (cplex.opt). This file has other solver options as well. When I try and solve the model I get:

Error: Column is not of type Variable
Option record: indic EQ_MGA_LIM_P_UP(MGA_FUEL)$BIN_VAR(MGA_FUEL) 0

Any ideas?

Many thanks

James


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi,

The usage of the option is okay, so without the rest of the model it is hard to say what goes wrong. If you don’t want to share it here, please contact support@gams.com with the entire model.

Michael Bussieck - GAMSWorld Coordinator


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.