drasys.or.mp
Interface SizableProblemI

All Known Implementing Classes:
Problem

public interface SizableProblemI
extends ProblemI

Abstract interface to sizable mathematical programming problems.


Method Summary
 ConstraintI newConstraint(java.lang.String name)
          Creates a new constraint.
 VariableI newVariable(java.lang.String name)
          Creates a new variable.
 void setCapacity(int capacityOfConstraints, int capacityOfVariables)
          Increases the constraint capacity.
 
Methods inherited from interface drasys.or.mp.ProblemI
coefficients, constraints, getCoefficientAt, getCoefficientAt, getCoefficientMatrix, getConstraint, getConstraint, getMetadata, getVariable, getVariable, relaxInteger, setCoefficientAt, setCoefficientAt, sizeOfCoefficients, sizeOfConstraints, sizeOfVariables, variables
 
Methods inherited from interface drasys.or.matrix.RealContainerI
equals, getEpsilon, setEpsilon
 

Method Detail

setCapacity

public void setCapacity(int capacityOfConstraints,
                        int capacityOfVariables)
Increases the constraint capacity.

newVariable

public VariableI newVariable(java.lang.String name)
                      throws DuplicateException
Creates a new variable.

newConstraint

public ConstraintI newConstraint(java.lang.String name)
                          throws DuplicateException
Creates a new constraint.


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