Dear Prof. Lofberg,
I've uploaded my code. I have to use bmibnb to solver this model. I'm not sure whether this result is available and credible for my model. It always shows 'fmincon stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 3.000000e+03.'.
I know this model is not so good, but I don’t really know how to fix it. The average computation time is about 30 sec. I have 365 sets of data and jut one set of them appears in the attachment code, it takes lots of time. What shall I do to accelerate the process?
Best
-----------------------------------------------------------------------------------------------------------------------------
Solver stopped prematurely.
fmincon stopped because it exceeded the function evaluation limit,
options.MaxFunctionEvaluations = 3.000000e+03.
1 : -5.563E+05 0.00 -5.563E+05 2 Improved solution
* Finished. Cost: -556320.4075 Gap: 2.0926e-14
* Termination with relative gap satisfied
* Timing: 20% spent in upper solver (1 problems solved)
* 1% spent in lower solver (241 problems solved)
* 40% spent in LP-based domain reduction (434 problems solved)
-----------------------------------------------------------------------------------------------------------------------------