Package org.ddolib.nolayer.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 using the NoLayer
API.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the default column width used for formatted output during the Anytime Column Search process.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.nolayer.modeling.Model
debugMode, dominance, initialSolution, lowerBound, problem, 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
-
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
-