Class ConferenceTalkPlacement

java.lang.Object
org.jacop.examples.fd.ConferenceTalkPlacement

public class ConferenceTalkPlacement extends Object
It solves a simple conference talk placement problem.
Version:
4.8

It solves a simple conference example problem, where different sessions must be scheduled according to the specified constraints.

  • Field Details

  • Constructor Details

    • ConferenceTalkPlacement

      public ConferenceTalkPlacement()
  • Method Details

    • transformCosts

      private Map<Integer,Map<Integer,Integer>> transformCosts(int[][] costs, int noOfTalks)
    • randomCosts

      private Map<Integer,Map<Integer,Integer>> randomCosts(int noOfTalks, int randomSeed, int maxSingleCost)
    • computeLowerBound

      private int computeLowerBound(int noOfParallelTracks, int noOfTimeSlots, Map<Integer,Map<Integer,Integer>> costs)
    • model

      public void model(int noOfParallelTracks, int noOfTalks, int noOfTimeSlots, int maxSingleCost, Map<Integer,Map<Integer,Integer>> costMap)
    • searchMaxRegretForMatrixOptimal

      public boolean searchMaxRegretForMatrixOptimal(int timeOutSeconds)
      It uses MaxRegret variable ordering heuristic to search for a solution.
      Parameters:
      timeOutSeconds - time-out in seconds
      Returns:
      true if there is a solution, false otherwise.
    • search

      public boolean search(int maxCostAllowed, int timeOutSeconds)
    • main

      public static void main(String[] args)
      It executes the program to solve this Travelling Salesman Problem.
      Parameters:
      args - no argument is used.