public final class LinearObjectiveFunction
extends java.lang.Object
Constructor | Description |
---|---|
LinearObjectiveFunction(double[] C,
GoalType type) |
Constructor
|
Modifier and Type | Method | Description |
---|---|---|
double[] |
getC() |
|
GoalType |
getType() |
public LinearObjectiveFunction(double[] C, GoalType type) throws LPException
C
- The vector of coefficients of the objective functiontype
- The type of optimization (MAX or MIN) as an instance of the GoalType enumerationLPException
- If the parameters are incongruent with the problempublic GoalType getType()
public double[] getC()