solveLPProblem
public static SolverResults solveLPProblem(java.util.ArrayList<double[]> Constraints,
double[] ObjF,
double[] RHS,
SolverObjDirection Dir,
int[] EqType)
throws DEASolverException,
ProblemNotSolvedProperlyException
The solveLPProblem method solve a Linear Problem. This method is called for each DMU when solving a DEA problem.
The method returns a solution object. See the SolverResults class for more information on this object.
The solveLPProblem method is called with all the element required to define a Linear Problem, i.e.:
1) an ArrayList of double[] for the constraints
2) a double[] for the objective function
3) a double[] for the Right Hand Side
4) a optimisation direction (min or max)
- Parameters:
Constraints
- A double[] of the constraint values.ObjF
- A double[] of the Objective Function values.RHS
- A double[] of the Right Hand Side valuesDir
- A SolverObjDirection (MIN or MAX)
- Returns:
- A SolverResult Object with the solution to the linear problem.
- Throws:
java.lang.Exception
ProblemNotSolvedProperlyException
DEASolverException