MIP: Terminating the optimization after the first feasible solution  FAQ

Frequently asked questions about GAMS

Moderator: aileen

Forum rules
Please ask questions in the other sub-forums
Locked
abhosekar
Moderator
Moderator
Posts: 175
Joined: 8 months ago

MIP: Terminating the optimization after the first feasible solution  FAQ

Post by abhosekar » 7 months ago

One way is to minimize/maximize a constant objective (min objective = 0) using any solver if the aim is to obtain just a feasible solution.

On the GAMS level you can set optcr and optca to large numbers. If the bound and the value are on opposite sides of zero, this might result in larger values than one for optcr. For setting optca large enough you need some idea about the range of objective values. In GAMS/CPLEX there is also an option called intsollim. Setting intsollim to 1 will terminate the optimization after the first feasible integer solution.

Locked