针对您遇到的cvxpy.error.solvererror: the solver glpk_mi is not installed问题,我将按照您提供的提示分点回答,并尽量包含必要的代码片段(尽管本问题主要关于安装和配置,而非代码编写)。 1. 确认cvxpy库已正确安装 首先,确保您已经正确安装了cvxpy库。您可以使用pip来安装或检查是否已安
SolverError: The solver GLPK-MI is not installed. However, I have installed the cvxopt both with binaries and without as instructed here: cvxpy/cvxpy#972 In the latter, it says python 3.9 is not supported. However, in the cvopt repo it says up to 3.10 is supported. cp.installed_solvers...
With 1.0.25 (installed through conda on windows), when trying to solve a problem with the solver, we got: > prob.solve(solver=cvxpy.GLPK_MI) [...] SolverError: The solver GLPK_MI is not installed With 1.0.27, the problem is not there anymore. Not sure if this is the exact caus...