drasys.or.mp.lp
Class DenseLPBase

java.lang.Object
  |
  +--drasys.or.mp.lp.DenseLPBase
Direct Known Subclasses:
DenseSimplex

public abstract class DenseLPBase
extends java.lang.Object
implements LinearProgrammingI, java.io.Serializable

Abstract class containing common dense data structures.

References:

Linear Programming
    Vasek Chvatal / Paperback / Published 1983
Linear and Nonlinear Programming
    Ariela Sofer, Stephen G. Nash / Hardcover / Published 1996
Combinatorial Optimization : Algorithms and Complexity
    Christos H. Papadimitriou, Kenneth Steiglitz / Paperback / Published 1998

See Also:
Serialized Form

Field Summary
protected  boolean _autoScale
           
protected  double[][] _cof
           
protected  double _fuzz
           
protected  boolean _isMaximize
           
protected  double _maxAbsVal
           
protected  double _maxCoefficient
           
protected  int _maxIterations
           
protected  double _minAbsVal
           
protected  double _minCoefficient
           
protected  java.lang.String _name
           
protected  int _nonZeroCnt
           
protected  double[] _obj
           
protected  boolean _problemSet
           
protected  double[] _rhs
           
protected  int _sizeOfColumns
           
protected  int _sizeOfRows
           
protected  boolean _solved
           
protected  byte[] _typ
           
 
Constructor Summary
DenseLPBase()
           
 
Method Summary
 void setProblem(ProblemI problem)
          Sets the problem to solve.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sizeOfRows

protected int _sizeOfRows

_sizeOfColumns

protected int _sizeOfColumns

_maxIterations

protected int _maxIterations

_nonZeroCnt

protected int _nonZeroCnt

_fuzz

protected double _fuzz

_minCoefficient

protected double _minCoefficient

_maxCoefficient

protected double _maxCoefficient

_minAbsVal

protected double _minAbsVal

_maxAbsVal

protected double _maxAbsVal

_typ

protected byte[] _typ

_obj

protected double[] _obj

_rhs

protected double[] _rhs

_cof

protected double[][] _cof

_name

protected java.lang.String _name

_solved

protected boolean _solved

_problemSet

protected boolean _problemSet

_autoScale

protected boolean _autoScale

_isMaximize

protected boolean _isMaximize
Constructor Detail

DenseLPBase

public DenseLPBase()
Method Detail

setProblem

public void setProblem(ProblemI problem)
                throws InvalidException
Description copied from interface: LinearProgrammingI
Sets the problem to solve.
Specified by:
setProblem in interface LinearProgrammingI


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com