Minos is a solver based on MINOS versions 5.51 that can be used
either "stand-alone" or with AMPL's -ob and -og options to solve
linear and nonlinear problems expressed in AMPL.
To use minos with AMPL, you have several options. You can invoke
it within an AMPL session by saying
solve;
or, if $solver is not already minos,
option solver minos;
solve;
Minos understands AMPL's -ob and -og output formats; you can thus
use stand-alone invocations like
With no stub argument, minos tries to read a SPECS file on stdin,
followed (unless the SPECS files dictates otherwise) by an MPS file,
so you also can invoke
cat foo.specs foo.mps | minos [assignment ...]
Invocation, in general, is
minos [options] [stub [-AMPL]] [assignment ...]
where stub is from `ampl -obstub` or `ampl -ogstub`.
Assignments have the form spec_phrase=value or n=filename
(where n is a 1 or 2 digit Fortran unit number, presumably one
mentioned in a spec_phrase=value assignment or the SPECS file).
No spaces may appear in either form of assignment; spec_phrases
are phrases that can appear in a SPECS file, with _ (underscore)
substituted for blank. An assignment n=filename attaches filename
to Fortran unit n. Assignments can also appear in the environment
variable $minos_options; minos first reads the SPECS file (if any),
then $minos_options, then the command-line assignments. For example
will make minos behave as though it read a SPECS file containing
BACKUP BASIS FILE 2
NEW BASIS FILE 3
and will connect files zip and zap with the Fortran units 2 and 3.
(It's unfortunate that you must explicitly mention Fortran unit
numbers, but this is not onerous.) The default file name for Fortran
unit u is fort.u .
Specifying objno=n in $minos_options or the command line is the
same as specifying problem_number=n-1 (i.e., objno=2 is the
same as problem_number=1), and objno=0 means "ignore the objectve;
just seek a feasible point".
Similar comments apply to a.out's you create to solve nonlinear
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller 1097434525U. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.99. You're not tied to anything after your purchase.