(MiniZinc) unrecognized option `--solver'

2019-08-20 06:36发布

After resolving the problem I had with the PATH at Unable to run MiniZinc from command line - Even after adding installation location to PATH, I soon encountered another problem when invoking the solver via the command minizinc -c --solver Gecode model.mzn data.dzn. I obtained the error: minizinc: unrecognized option "--solver".

How can I resolve this? I also want to use the CBC and Gurobi solvers (mzn-cbc, mzn-gurobi) as well..

I am following the instructions given at http://www.minizinc.org/doc-2.2.0/en/command_line.html if it helps.

1条回答
你好瞎i
2楼-- · 2019-08-20 06:54

The --solver option was introduced in the release today, version 2.2.0. Please install the newest version of MiniZinc and this should solve you problem

查看更多
登录 后发表回答