Originally posted by: MooseGreen
Hi,
I have an MIP model in OPL that is quite simple. However, I noticed the solution sub-optimal, depending on how I set one of the parameters in the model.
In short, I am using parameter TranCost to suppress the number of transactions, with the help of binary variable BinSDeliver.
Below are my test scenarios:
Scenario 1: TranCost = 0. The result is optimal, with the number of transaction equal 4.
Scenario 2: TranCost = 0.5. The result is optimal, but with fewer transactions (3 to be exact). The objective function (excluding the transaction cost) is 11953.4035833763
Scenario 3: TranCost = 1. The number of transactions is still 3, but it is now with a suboptimal result. The objective function (excluding the transaction cost) is 11953.6701255976. At least one better solution is available, where the allocation is the same as when TranCost = 0.5.
Why would CPLEX not find the global minimum for such a simple problem, when TranCost = 1?
Have attached the model and data file. Would appreciate any input.
Moose
#DecisionOptimization#OPLusingCPLEXOptimizer