Optmizer constraint error - non linear constraint

Hi,

 

I am working on a production planning optimization problem. I am building a minimum order quantity functionality using a binary variable. But I am getting error message 'The constraint has a formula that is not liner'. when I am removing this binary variable the error is resolved. Isn't it possible to use the binary variables in the optmizer?

 

Thanks,

Sourabh

Tagged:

Answers

  • Hi Sourabh,

     

    It is likely to do with the constraints this variable is feeding, could you post some more information showing how it feeds through the optimization problem?