Executing the flow control script

Using the warehouse project.

  1. Select the warehouse project.
  2. Right-click the run configuration name Solution pool script and choose Set as Default.
  3. Execute the run configuration.

    Notice that:

    • The result of the script execution is reported in the Scripting log. The number of solutions found is written at the top of the Scripting log tab.

    • You cannot see the list of solutions from the Problem Browser.

    • If you add an .ops file and check the option Populate solution pool, it is not taken into account because script statements prevail over IDE settings.

    For more information

    – on the solution pool in general: see the CPLEX documentation, in particular the specific chapter in the CPLEX Optimizer User’s Manual.

    – on the IBM ILOG Script API for the solution pool: see the IBM ILOG Script Reference Manual.