Open stumarcus314 opened 6 years ago
As the warning suggests, Cbc requires you to warmstart each variable. All the formulations in this package add additional variables, so you would need to warmstart those values that are hidden from you at the moment.
This would be a reasonable thing to implement in the future, but it's not a simple addition. It's also unclear how much warmstarting would improve your solution time, but you could experiment with a solver such as Gurobi that accepts partial warmstart solutions.
Is it possible to warmstart a p.w.l. variable from a previous, related p.w.l. variable? When I use the code excerpt below to try this and set the solver to CBC, I get the error below. In the code below, the number of segments used in the p.w.l. variable log_x increases with each iteration.
WARNING: Ignoring partial starting solution. Cbc requires a feasible value to be specified for all variables.
Construct the piecewise linear approximation of log(x), log(y), and log(z).