The error message is trying to tell you that there is no solver . AMPL does not solve your problem, it simply turns your model into a form suitable for the solver, passes it to the solver, and the actual solution is performed by the solver. This is an error message.
To solve this problem, you need a solver. Download and extract the minos utility. Make it exectuable: in the Bash shell (and not in the AMPL shell) do the following:
chmod +x minos
You will also tell AMPL where the solver is before you execute the solve; command solve; . Before the solve command, do this either in the AMPL shell or in the model file:
option solver "/path/to/minos";
where you change /path/to/minos according to your setup.
What all.
source share