Class LPCanonicalProblem2

    • Constructor Detail

      • LPCanonicalProblem2

        public LPCanonicalProblem2​(Vector c,
                                   Matrix A,
                                   Vector b)
        Construct a linear programming problem in the canonical form.
        Parameters:
        c - c'x is the linear objective function to be minimized
        A - the less-than inequality constraints A * x ≤ b
        b - the less-than inequality values A * x ≤ b
      • LPCanonicalProblem2

        public LPCanonicalProblem2​(Vector cost,
                                   LinearLessThanConstraints less)
        Construct a linear programming problem in the canonical form.
        Parameters:
        cost - the objective function
        less - a collection of less-than-or-equal-to constraints
      • LPCanonicalProblem2

        public LPCanonicalProblem2​(LPCanonicalProblem1 problem)
        Convert a linear programming problem from the 1st canonical form to the 2nd canonical form.
        Parameters:
        problem - a linear programming problem in the 1st canonical form