Class MispModel

java.lang.Object
org.ddolib.examples.nolayer.misp.MispModel
All Implemented Interfaces:
Model<MispState>

public class MispModel extends Object implements Model<MispState>
Base model for the Maximum Independent Set Problem (MISP), in the no-layer modeling API.

Bundles the MispProblem together with a MispFlb fast lower bound, so that the various MISP solver entry points can build on top of it.

  • Constructor Details

    • MispModel

      public MispModel(MispProblem problem)
      Creates a new model wrapping the given MISP problem.
      Parameters:
      problem - the MISP problem instance to solve
  • Method Details

    • problem

      public Problem<MispState> problem()
      Description copied from interface: Model
      Returns the optimization problem instance associated with this model.
      Specified by:
      problem in interface Model<MispState>
      Returns:
      the Problem defining the structure, transitions, and objective function
    • lowerBound

      public FastLowerBound<MispState> lowerBound()
      Description copied from interface: Model
      Returns a heuristic that estimates a lower bound on the objective value for a given state.
      Specified by:
      lowerBound in interface Model<MispState>
      Returns:
      the FastLowerBound heuristic