Package com.imsl.io

Class MPSReader.Row

java.lang.Object
com.imsl.io.MPSReader.Row
All Implemented Interfaces:
Serializable
Enclosing class:
MPSReader

public class MPSReader.Row extends Object implements Serializable
A row either in the constraint matrix or a free row.
See Also:
  • Method Details

    • getName

      public String getName()
      Returns the name of this row.
    • iterator

      public Iterator iterator()
      Returns an iterator over the elements in this row. This is used to retrieve the coeffients in a sparse form.
    • getCoefficients

      public double[] getCoefficients()
      Returns the coeffients of this row as a dense array.
    • getNumberOfNonZeros

      public int getNumberOfNonZeros()
      Returns the number of nonzero elements in this row.