QSopt MPS format OBJNAME section QSopt > Problem Formats > MPS Format
  QSopt
  Downloads
  LP Info
  Software
  Problem Formats
  LP Format
MPS Format
  Examples
  Callable Library
  Rational Solver
  Beta
  Contact Info
By default the first "N" row defined in the ROWS section becomes a problem's objective; a different objective may be specified in the OBJNAME section, which contains exactly one data line that names the objective in field 1. The QSopt parser changes the objective constraint chosen to be an "N" constraint, if necessary.

The following lines define obj2 to be the objective. Since obj1 is the first "N" row in the ROWS section QSopt would pick it as objective in the absence of an explicit choice made in the OBJNAME section.
 
         ROWS 
            N obj1 
            N obj2 
         OBJNAME 
              obj2

See also MPS format sections and MPS format ROWS sections.

 
QSopt | Problem Formats | Downloads Back
Last Updated: November 2003