Uses of Class
com.google.ortools.modelbuilder.LinearConstraint
Packages that use LinearConstraint
- 
Uses of LinearConstraint in com.google.ortools.modelbuilder
Methods in com.google.ortools.modelbuilder that return LinearConstraintModifier and TypeMethodDescriptionModelBuilder.addEquality(LinearArgument expr, double value) Addsexpr == value.ModelBuilder.addEquality(LinearArgument left, LinearArgument right) Addsleft == right.ModelBuilder.addGreaterOrEqual(LinearArgument expr, double value) Addsexpr >= value.ModelBuilder.addGreaterOrEqual(LinearArgument left, LinearArgument right) Addsleft >= right.ModelBuilder.addLessOrEqual(LinearArgument expr, double value) Addsexpr <= value.ModelBuilder.addLessOrEqual(LinearArgument left, LinearArgument right) Addsleft <= right.ModelBuilder.addLinearConstraint(LinearArgument expr, double lb, double ub) Addslb <= expr <= ub.ModelBuilder.constraintFromIndex(int index) Rebuilds a linear constraint from its index.Inline setterMethods in com.google.ortools.modelbuilder with parameters of type LinearConstraintModifier and TypeMethodDescriptiondoubleModelSolver.getActivity(LinearConstraint ct) Checks that the solver has found a solution, and returns the activity of the given constraint.doubleModelSolver.getDualValue(LinearConstraint ct) Checks that the solver has found a solution, and returns the dual value of the given constraint.