Package org.ddolib.layered.modeling
Interface AcsModel<T>
- Type Parameters:
T- the type representing the state of the problem
- All Superinterfaces:
Model<T>
Defines the structure of an optimization model solved using the Anytime Column Search
(ACS) algorithm within the Decision Diagram Optimization (DDO) framework.
The Anytime Column Search is an iterative approach that incrementally builds and refines
decision diagrams (MDDs) to improve solution quality over time. The AcsModel interface
provides the problem definition and configuration elements required by the ACS solver.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the default column width used for formatted output during the Anytime Column Search process.Returns a copy of this model but without dominance.Returns a copy of this model but withoutFastLowerBound.setColumnWidth(int width) Returns a copy of this model but with another column width.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.Methods inherited from interface org.ddolib.layered.modeling.Model
debugMode, dominance, initialSolution, lowerBound, problem, variableHeuristic, verbosityLevel
-
Method Details
-
columnWidth
default int columnWidth()Returns the default column width used for formatted output during the Anytime Column Search process.This parameter is primarily used for visual alignment of intermediate results or search statistics in console or file outputs.
- Returns:
- the default column width, in characters (default is
5)
-
setColumnWidth
Returns a copy of this model but with another column width.- Parameters:
width- the column width to use- Returns:
- a copy of this model but with another column width
-
disableDominance
Description copied from interface:ModelReturns a copy of this model but without dominance.- Specified by:
disableDominancein interfaceModel<T>- Returns:
- a copy of this model but without dominance
-
disableLowerBound
Description copied from interface:ModelReturns a copy of this model but withoutFastLowerBound.- Specified by:
disableLowerBoundin interfaceModel<T>- Returns:
- a copy of this model but without
FastLowerBound
-
setInitialSolution
Returns a copy of this model but with the given initial solution.- Specified by:
setInitialSolutionin interfaceModel<T>- Parameters:
solution- the initial solution (seeModel.initialSolution())- Returns:
- a copy of this model but with the given initial solution
-