What I have here is a model with heuristics as solution procedure. One of my parameter has the lower bound of 0 [>=0] and during the run-time, the heuristic generates columns and then I am using the columns generated so far to solve a LP. The problem here is after generating 6 columns, the heuristic stops. When I tried to do the calculation on paper, I found that at 7th iteration, the value goes -1. I did define the lower bound as
Is it required to define a condition like this:
I am modeling this in AMPL and really appreciate your inputs on where it could have gone wrong.
asked
Pavan |

If you are getting cgmatrix[i,p] = -1 for some i,p when you solve by hand, it seems likely your heuristic is incorrect/invalid. Can't really say more than that without seeing the full model and heuristic (and I'm not asking to see them).