Binary variable have fractional value

  • 27 May 2020
  • 1 reply
  • 190 views

Hi

I am using AIMMS for solving a planning problem in electrical engineering field. The optimization problem is a MILP. I have some variables that are defined to be binary but when the AIMMS solve the problem some of the binary variables have fractional values, which is weird. 

I should mention that the relax status is used for solving linear version of MIP, but in the case that I am talking about the relax status variable is set to zero to have binary answers. Most of the answers are binary except for some of them that have fractional values.

I would be grateful if someone could help me to solve this issue.


1 reply

Userlevel 5
Badge +4

Hi @rezakhalili Do these binary variables have fractional values close to 0 or 1? If not then it would help if we could investigate your project. Would it be possible for you to add your project here, preferably after adding it to a zip file, or send it to our support by email if your project contains sensitive information?

Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator