Hello all,
I have been able to succesfully run MOST for several days, but I recently
came across a problem when attempting to load cost data into mpc.gencost. I
My original gencost was below:
mpc.gencost = [
2 0 0 2 200 0;
2 0 0 2 300 0;
2 0 0 2 500 0;
2 0 0 2 1000 0;
];
When I changed it to quadratic, it works as long as the first term is 0.
mpc.gencost = [
2 0 0 3 0 200 0;
2 0 0 3 0 300 0;
2 0 0 3 0 500 0;
2 0 0 3 0 1000 0;
];
However, when I change the first term to a non-zero value:
mpc.gencost = [
2 0 0 3 0.004 200 0;
2 0 0 3 0 300 0;
2 0 0 3 0 500 0;
2 0 0 3 0 1000 0;
];
I get the following error.
error: mpopt2qpopt: Sorry, no solver available for MIQP models
error: called from
mpopt2qpopt at line 92 column 13
most at line 2065 column 14
test at line 41 column 5
I am using the glpk solver. Does anyone know if this is a solver issue, a
human error (on my part) issue, or otherwise?
Thanks!
Stephen Suffian