Я установил последнюю версию исполняемого файла Windows (SCIPOptSuite-9.2.0-win64). .exe) и пытаюсь следовать этому примеру: https://github.com/TrevorJA/Reservoir-L ... Demo.ipynb
Сначала у меня возникли некоторые проблемы с scip, поэтому я внес следующие изменения:< /p>
Код: Выделить всё
solver=pyo.SolverFactory('scip')Код: Выделить всё
results = solver.solve(model)Я пробовал использовать другой решатель ( Куэнн) и получил ту же ошибку.
Дополнительная информация об ошибке:
Код: Выделить всё
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "scipampl" and returned an UnknownSolver object. This error is raised at the point where the UnknownSolver object was used as if it were valid (by calling method "solve").
The original solver was created with the following parameters:
executable: C:\Program Files\SCIPOptSuite 9.2.in\scip.exe
solver_io: nl
type: scip
_args: ()
options: {}
Подробнее здесь: https://stackoverflow.com/questions/793 ... bute-solve
Мобильная версия