Cannot invoke minos

298 views
Skip to first unread message

Rahaf

unread,
Jun 5, 2021, 10:15:17 AM6/5/21
to AMPL Modeling Language
hey everyone, I have this problem how can I sole it? and why

ampl: solve;
Cannot invoke minos: no such program.
ampl: 


thanks

AMPL Google Group

unread,
Jun 5, 2021, 4:36:45 PM6/5/21
to AMPL Modeling Language
Because MINOS was the first solver that worked with AMPL, it is still the default solver. So if you do not set a solver, AMPL will try to send your problem to MINOS. But in this case, AMPL is not finding MINOS on your computer.

If you want to use MINOS, then there is a problem with your installation. To get some help, reply with a listing (text or screenshot) of the folder/directory where you have the AMPL program. Also, indicate which kind of computer (Windows, Linux, or macOS) you are using.

If you want to use some other solver, use an "option solver . . ." command to tell AMPL what solver to look for. For example, "option solver gurobi;", "option solver cplex;", "option solver knitro;", etc.

If you are not sure what solver to use, then reply with the listing and kind of computer as described above, and also attach your model and data files.


--
Robert Fourer
am...@googlegroups.com
{#HS:1534649611-104792#}
Reply all
Reply to author
Forward
0 new messages