Counting backtracks

From: Tallys Hoover Yunes <>
Date: Fri 19 Apr 2002 01:42:53 PM GMT
Message-ID: <>
Dear all,

  I'm writing an optimization program in ECLiPSe
  and I'd like to count the total number of backtracks
  that happened until the optimal solution is found.

  I'm optimizing with the following predicate:

  minimize(search([Q001, Q002, Q003, Q004, Q005, Q006, Q007],

  But I feel that what I get in the variable Back is going to
  be only the number of backtracks that occurred between the
  next-to-last and last solutions.

  What would be the correct way to do this?

  Thanks a lot in advance.


  Tallys Hoover Yunes
  PhD student in Operations Research
  GSIA, Carnegie Mellon University, USA
Received on Fri Apr 19 15:11:19 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:13 PM GMT GMT