public class OrderedObjsOWAOptimizer extends AbstractLinMultiObjOptimizer
| Modifier and Type | Field and Description |
|---|---|
protected List<IntegerVariable> |
objBoundVariables |
protected BigInteger[] |
weights |
initConstraintsSet, integerSolver, objsobjectiveValue| Constructor and Description |
|---|
OrderedObjsOWAOptimizer(IIntegerPBSolver solver,
BigInteger[] weights) |
OrderedObjsOWAOptimizer(IIntegerPBSolver solver,
int[] weights) |
| Modifier and Type | Method and Description |
|---|---|
Number |
calculateObjective() |
void |
discard() |
void |
discardCurrentSolution() |
protected BigInteger |
minObjValuesBound() |
protected void |
setGlobalObj()
Implement this method to set a global linear objective function, which
depends on the added objective functions and the initialization-added
constraints.
|
protected void |
setInitConstraints()
Implement this method to add some constraints before the first call to
the solver.
|
addObjectiveFunction, admitABetterSolution, admitABetterSolution, getObjectiveValues, hasNoObjectiveFunction, setObjectiveFunctiondiscardCurrentModel, forceObjectiveValueTo, getObjectiveValue, isOptimal, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, model, model, modelWithInternalVariables, nonOptimalMeansSatisfiable, removeSubsumedOptConstr, reset, setTimeout, setTimeoutForFindingBetterSolution, toStringaddAtLeast, addAtLeast, addAtMost, addAtMost, addExactly, addExactly, addPseudoBoolean, getObjectiveFunctionaddAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addConstr, addExactly, addParity, clearDecorated, clearLearntClauses, createBlockingClauseForCurrentModel, decorated, expireTimeout, findModel, findModel, getLogPrefix, getOriginInModel, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSolverKeptHot, isVerbose, nConstraints, newVar, newVar, nextFreeVarId, nVars, primeImplicant, primeImplicant, printInfos, printInfos, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, setDBSimplificationAllowed, setDecorated, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseConsumer, setUnitClauseProvider, setVerbose, toString, unsatExplanationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforceObjectiveValueTo, getObjectiveValue, isOptimal, nonOptimalMeansSatisfiable, setTimeoutForFindingBetterSolutionfindModel, findModel, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, model, nConstraints, newVar, nVars, primeImplicant, primeImplicant, printInfos, printInfosmodeladdAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addConstr, addExactly, addParity, clearLearntClauses, createBlockingClauseForCurrentModel, expireTimeout, getLogPrefix, getOriginInModel, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSolverKeptHot, isVerbose, newVar, nextFreeVarId, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, setDBSimplificationAllowed, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseConsumer, setUnitClauseProvider, setVerbose, unsatExplanationprotected final List<IntegerVariable> objBoundVariables
protected final BigInteger[] weights
public OrderedObjsOWAOptimizer(IIntegerPBSolver solver, int[] weights)
public OrderedObjsOWAOptimizer(IIntegerPBSolver solver, BigInteger[] weights)
protected void setInitConstraints()
AbstractLinMultiObjOptimizersetInitConstraints in class AbstractLinMultiObjOptimizerprotected BigInteger minObjValuesBound()
public Number calculateObjective()
calculateObjective in interface IOptimizationProblemcalculateObjective in class PseudoOptDecoratorpublic void discardCurrentSolution()
throws ContradictionException
discardCurrentSolution in interface IOptimizationProblemdiscardCurrentSolution in class PseudoOptDecoratorContradictionExceptionpublic void discard()
throws ContradictionException
discard in interface IOptimizationProblemdiscard in class PseudoOptDecoratorContradictionExceptionprotected void setGlobalObj()
AbstractLinMultiObjOptimizersetGlobalObj in class AbstractLinMultiObjOptimizerCopyright © 2020 Centre de Recherche en Informatique de Lens (CRIL). All rights reserved.