Cplex generates optimal solution but then declares it to infeasible

Problems with modeling
Post Reply
Nikou
User
User
Posts: 33
Joined: 4 years ago

Cplex generates optimal solution but then declares it to infeasible

Post by Nikou »

Hello

I know, the title of my posting sounds "crazy" but this is what happens.

I solve a MIP Problem (scheduling) using GAMS/CPLEX to optimality. The solver returns the optimal solution (I know that this is the optimal one, I am using a test problem).

Now, when I resolve the problem by fixing a subset of the variables to their optimal values, CPLEX claims that the problem is infeasible.

Has anyone any hints of what could cause such a behaviour of the solver? What should I look for, when rying to fix the problem?
Fred
Posts: 373
Joined: 7 years ago

Re: Cplex generates optimal solution but then declares it to infeasible

Post by Fred »

Hi Nikou,

Can you share an example, so other forum users can reproduce the observed behavior.
Would also be interesting to know which version you are using.

Best,
Fred
Nikou
User
User
Posts: 33
Joined: 4 years ago

Re: Cplex generates optimal solution but then declares it to infeasible

Post by Nikou »

I am sorry I can't give an example now. The model has become too complex, and I have to admit a real mess.
I will try to sort out what happens. I suppose the problem has to do with the use of small numbers and BigM constraints.
Nikou
User
User
Posts: 33
Joined: 4 years ago

Re: Cplex generates optimal solution but then declares it to infeasible

Post by Nikou »

False alarm! There is nothing wrong with the solver. I did make a mistake in the input data!
Post Reply