Interface AcsModel<T>

Type Parameters:
T - the type representing the state of the problem
All Superinterfaces:
Model<T>

public interface AcsModel<T> extends 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 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

      default AcsModel<T> setColumnWidth(int width)
      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

      default AcsModel<T> setInitialSolution(Solution solution)
      Returns a copy of this model but with the given initial solution.
      Specified by:
      setInitialSolution in interface Model<T>
      Parameters:
      solution - the initial solution (see Model.initialSolution())
      Returns:
      a copy of this model but with the given initial solution