On Thu, 7 Apr 2011, Yaron Kretchmer wrote:
The problem is a stock hedging problem, with one of the component of a correct hedge being that the strike price of the option is >= the value of the stock. The enclosde model should have no solution, since I'm fixing the variable such that the price of the option is does not follow the constaint above. When my big-M = 9099999, I get the correct "No primal feasible" answer. But when I increase M to 9100000, a succesful solution is found, which is not correct.
The issue is probably round off. As a rule one should use the smallest big-M that is mathematically correct. Small big-Ms give tighter linear constraints.
Are there any upper limits to the size of big-M that can be used?
-- Michael [email protected] "Pessimist: The glass is half empty. Optimist: The glass is half full. Engineer: The glass is twice as big as it needs to be." _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
