mapping
Class LP_Solver
java.lang.Object
mapping.LP_Solver
public class LP_Solver
- extends java.lang.Object
This class is responsible for solving the LP allocation. The LP package used
in this class was taken from http://opsresearch.com/OR-Objects/
- Author:
- Majd Kokaly
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LP_Solver
public LP_Solver()
solveWithAj
public static DeltaStar solveWithAj(ServersTable serversTable,
JobClassesTable jobClassesTable)
throws java.lang.Exception
- This method solves the LP allocation. Please refer to the LPAS_DG section
in the thesis document.
- Parameters:
serversTable
- The table containing the serversjobClassesTable
- The table containing the job classes.
- Returns:
- A DeltaStar object containing the delta & matrix
- Throws:
java.lang.Exception
solveWithAjAndReturnFullDeltaStar
public static java.lang.Object[] solveWithAjAndReturnFullDeltaStar(ServersTable serversTable,
JobClassesTable jobClassesTable)
throws java.lang.Exception
- This method solves the LP allocation.
- Parameters:
serversTable
- The table containing the serversjobClassesTable
- The table containing the job classes.
- Returns:
- both objects of the Delta* and lamda*
- Throws:
java.lang.Exception