org.ojalgo.optimisation.knapsack
Class SimpleSackSolver
java.lang.Object
org.ojalgo.optimisation.GenericSolver
org.ojalgo.optimisation.knapsack.SimpleSackSolver
- All Implemented Interfaces:
- OptimisationSolver
Deprecated. v28
@Deprecated
public final class SimpleSackSolver
- extends GenericSolver
SimpleSackSolver assumes:
- all variable costs positive.
- all constraint factors equal to 1.
- no integer variables.
- Author:
- apete
Field Summary |
static boolean |
DEBUG
Deprecated. |
DEBUG
public static boolean DEBUG
- Deprecated.
SimpleSackSolver
public SimpleSackSolver(KnapsackModel aModel)
- Deprecated.
SimpleSackSolver
public SimpleSackSolver(ExpressionsBasedModel aModel)
- Deprecated.
getValue
public BigDecimal getValue()
- Deprecated.
solve
public OptimisationSolver.Result solve()
- Deprecated.
solve
public OptimisationSolver.Result solve(OptimisationModel aValidationModel)
- Deprecated.
getModel
public ExpressionsBasedModel getModel()
- Deprecated.
maximise
public BigDecimal maximise()
- Deprecated.
minimise
public BigDecimal minimise()
- Deprecated.
toString
public String toString()
- Deprecated.
- Overrides:
toString
in class Object