Uses of Class
org.ojalgo.optimisation.linear.LinearSolver.Builder
Packages that use LinearSolver.Builder
-
Uses of LinearSolver.Builder in org.ojalgo.optimisation.convex
Methods in org.ojalgo.optimisation.convex that return LinearSolver.BuilderModifier and TypeMethodDescriptionConvexSolver.Builder.toFeasibilityChecker()Disregard the objective function (set it to zero) and form the dual LP.ConvexSolver.Builder.toLinearApproximation()Approximate at origin (0.0 vector)ConvexSolver.Builder.toLinearApproximation(Access1D<Double> point) Linearise the objective function (at the specified point) and duplicate all variables to handle the (potential) positive and negative parts separately. -
Uses of LinearSolver.Builder in org.ojalgo.optimisation.linear
Subclasses with type arguments of type LinearSolver.Builder in org.ojalgo.optimisation.linearModifier and TypeClassDescriptionstatic final classCompared tothis builder:invalid reference
LinearSolver.StandardBuilder
1) Accepts inequality constraints
2) Has relaxed the requiremnt on the RHS to be non-negative (both equalities and inequalities)Methods in org.ojalgo.optimisation.linear that return LinearSolver.BuilderModifier and TypeMethodDescriptionLinearSolver.Builder.equalities(Access2D<?> mtrxAE, Access1D<?> mtrxBE) LinearSolver.Builder.equality(double rhs, double... factors) LinearSolver.Builder.inequalities(Access2D<?> mtrxAI, Access1D<?> mtrxBI) LinearSolver.Builder.inequality(double rhs, double... factors) LinearSolver.Builder.lower(double bound) final LinearSolver.BuilderLinearSolver.Builder.lower(double... bounds) static LinearSolver.BuilderLinearSolver.newBuilder()static LinearSolver.BuilderLinearSolver.newBuilder(double... objective) static LinearSolver.BuilderLinearSolver.newGeneralBuilder()Deprecated.static LinearSolver.BuilderLinearSolver.newGeneralBuilder(double... objective) Deprecated.v55 UseLinearSolver.newBuilder(double...)insteadstatic LinearSolver.BuilderLinearSolver.newStandardBuilder()Deprecated.v55 UseLinearSolver.newBuilder()insteadstatic LinearSolver.BuilderLinearSolver.newStandardBuilder(double... objective) Deprecated.v55 UseLinearSolver.newBuilder(double...)insteadfinal LinearSolver.BuilderLinearSolver.Builder.objective(double... factors) LinearSolver.Builder.objective(int index, double value) LinearSolver.Builder.objective(MatrixStore<Double> mtrxC) LinearSolver.Builder.toStandardForm()Convert inequalities to equalities (adding slack variables) and make sure all RHS are non-negative.LinearSolver.Builder.upper(double bound) final LinearSolver.BuilderLinearSolver.Builder.upper(double... bounds)
LinearSolver.newBuilder()instead