Documentation of 'com.datumbox.framework.core.mathematics.linearprogramming.LPSolver' Java class
LPSolver
com.datumbox.framework.core.mathematics.linearprogramming

Class LPSolver



  • public class LPSolver
    extends java.lang.Object
    The LPSolver provides an easy way to formulate and solve Linear Programming problems.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  LPSolver.LPConstraint
      The LP Constraint is an internal class which stores the the main body of the constraint, the sign and the right value.
      static class  LPSolver.LPResult
      The Result class of the LP problem.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String EQ
      Equal.
      static java.lang.String GEQ
      Greater or equal.
      static java.lang.String LEQ
      Less or equal
    • Constructor Summary

      Constructors 
      Constructor and Description
      LPSolver() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static LPSolver.LPResult solve(double[] linearObjectiveFunction, java.util.List<LPSolver.LPConstraint> linearConstraintsList, boolean nonNegative, boolean maximize)
      Solves the LP problem and returns the result.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GEQ

        public static java.lang.String GEQ
        Greater or equal.
      • LEQ

        public static java.lang.String LEQ
        Less or equal
      • EQ

        public static java.lang.String EQ
        Equal.
    • Constructor Detail

      • LPSolver

        public LPSolver()
    • Method Detail

      • solve

        public static LPSolver.LPResult solve(double[] linearObjectiveFunction,
                                              java.util.List<LPSolver.LPConstraint> linearConstraintsList,
                                              boolean nonNegative,
                                              boolean maximize)
        Solves the LP problem and returns the result.
        Parameters:
        linearObjectiveFunction -
        linearConstraintsList -
        nonNegative -
        maximize -
        Returns:

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.