Minos

DQQCleanup(tmpPath, originalDirectory)[source]

perform cleanup after DQQ.

minosCleanUp(tmpPath, dataDirectory, modelName)[source]

CleanUp after Minos Solver.

readMinosSolution(fname)[source]

Loads MINOS solution information from file fname. The file is created by MINOS with the run-time option Report file 81. Note that 81 is essential, and the gfortran compiler produces a file named fort.81 (which may be renamed by the script used to run MINOS). Other compilers may generate different generic names.

The optimization problem solved by MINOS is assumed to be

  • min osense*s(iobj)

  • st Ax - s = 0 + bounds on x and s,

where A has m rows and n columns.

USAGE:

sol = readMinosSolution (fname)

INPUT:

fname – File

OUTPUT:

sol – Structure

  • .inform - MINOS exit condition

  • .m - Number of rows in A

  • .n - Number of columns in A

  • .osense - osense

  • .objrow - Row of A containing a linear objective

  • .obj - Value of MINOS objective (linear + nonlinear)

  • .numinf - Number of infeasibilities in x and s.

  • .suminf - Sum of infeasibilities in x and s.

  • .xstate - n vector: state of each variable in x.

  • .sstate - m vector: state of each slack in s.

  • .x - n vector: value of each variable in x.

  • .s - m vector: value of each slack in s.

  • .rc - n vector: reduced gradients for x.

  • .y - m vector: dual variables for Ax - s = 0.