Optmizer constraint error - non linear constraint

New Contributor

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

Message 1 of 2
1 REPLY 1
Occasional Contributor

Re: Optmizer constraint error - non linear constraint

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? 

 

Message 2 of 2