Class KSAcsMain

java.lang.Object
org.ddolib.examples.nolayer.knapsack.KSAcsMain

public final class KSAcsMain extends Object
Knapsack Problem (KS) with ACS, using the no-layer modeling API.

This class demonstrates how to solve an instance of the Knapsack Problem using the Anytime Column Search (ACS) algorithm, reusing the fast lower bound and dominance checker defined by KSModel.

  • Method Details

    • main

      public static void main(String[] args) throws IOException
      Entry point of the ACS demonstration for the Knapsack Problem.
      Parameters:
      args - command-line arguments (optional: instance file path)
      Throws:
      IOException - if the instance file cannot be read