IBM ILOG Solver User's Manual > The Basics > Modeling and Solving a Simple Problem: Map Coloring > Review exercises

  1. What is a constrained integer variable?
  2. What are goals?
  3. Change the code so that Germany and Denmark are always the same color. Except for Germany and Denmark, no two neighboring countries are the same color.
  4. Change the original code to include Switzerland in the map. Switzerland shares borders with France and Germany. No two neighboring countries are the same color.