Package com.imsl.io
Class MPSReader.Row
java.lang.Object
com.imsl.io.MPSReader.Row
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MPSReader
A row either in the constraint matrix or a free row.
- See Also:
-
Method Details
-
getName
Returns the name of this row. -
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.
-