Originally posted by: SystemAdmin
Do I understand correctly that the solution time with semi-continuous variables is 00:00:00.2430000 and with binary variables it is 00:00:00.0330000? I don't think that you should draw any conclusions from time values as small as those. Both values are significantly smaller than a second and any kind of inaccuracy in the clock or latency in the OS scheduler will heavily influence these timing values.
In both cases your output tells that the problem after presolve has
Reduced MIP has 42 rows, 42 columns, and 175 nonzeros.
Reduced MIP has 14 binaries, 0 generals, 0 SOSs, and 0 indicators.
and all other output is basically the same as well. So it is very likely that you are solving the
exact same problem here (which is kind of expected). The time difference of 0.2 seconds may come from anywhere.
BTW: Did you include the model building time into this time measurement?
If not your results are of course biased: If you use semi-continuous variables then CPLEX has to transform them internally in presolve. If you use binary variables then you do the transformation in your modeling part. Modeling becomes more complicated (and more error prone) and you should account for that more complicated modeling.
As I said, the timing differences are just too small to draw any conclusions here.
#CPLEXOptimizers#DecisionOptimization