public final class LinearObjectiveFunction
extends java.lang.Object
Constructor and Description |
---|
LinearObjectiveFunction(double[] C,
GoalType type)
Costruttore
|
Modifier and Type | Method and Description |
---|---|
double[] |
getC() |
GoalType |
getType() |
public LinearObjectiveFunction(double[] C, GoalType type) throws LPException
C
- Il vettore dei coefficienti della funzione obiettivotype
- Il tipo di ottimizzazione (MAX o MIN) come istanza della enumerazione GoalTypeLPException
- Se i parametri sono incongruenti con il problemapublic GoalType getType()
public double[] getC()