You will need to install a 3rd party solver that can handle MIQP problems, e.g.
Gurobi, CPLEX or MOSEK.
Ray
> On Mar 9, 2021, at 2:30 AM, Alireza SalimAmini <[email protected]> wrote:
>
> Hi Prof.Ray and other dears
>
> I have a question about when my problem is MIQP after changing in MOST (
> when defining uncertainty scenarios and using storage tools and renewables
> and costs in one problem simultaneously) after recalling "mpopt2qpopt" (in
> order to Create/modify MI/QPS_MASTER options struct from MPOPT.) matlab shows
> this syntax error,
>
>
> *****************************************************
> - Building indexing structures.
> - Building expected storage-tracking mechanism.
> - Building constraint submatrices.
> - Building DC flow constraints.
> - Splitting storage injections into charge/discharge.
> - Building CCV constraints for piecewise-linear costs.
> - Building contingency reserve constraints.
> - Building ramping transitions and reserve constraints.
> - Building storage constraints.
> - Building unit commitment constraints.
> - Building cost structures.
> - Assembling full set of constraints.
> - Assembling full set of variable bounds.
> - Assembling full set of costs.
>
> Error using mpopt2qpopt2 (line 98)
> mpopt2qpopt: Sorry, no solver available for MIQP models
>
> Error in most (line 2015)
> mdo.QP.opt = mpopt2qpopt(mpopt);
>
> Error in multiperiodmain_uc (line 32)
> mdo = most2(mdi);
> ***************************************************************************
> I downloaded "mp_opt_model_master" and set the path in matlab for installing
> it, and test result was ok but nothing good happened !!!
>
> would you help me plz ?
> what should i do for solving this MPOPT problem ?
> it seems the code send this error when it detects the "model" as MIQP
> because i checked the "mpopt2qpop.m" mfile there was nothing about MIQP in
> that mfile.