Re: minimize

From: Marc van Dongen <>
Date: Fri 02 Aug 2002 02:38:17 PM GMT
Message-ID: <>
Karen E Petrie ( wrote:

: Hi all,


: I think you want the minimize/5 predicate, which is:
:  minimize(+Goal, ?Template, +Lower +Upper, +Percentage)

The problem is that Percentage has to be an integer.
Therefore, your proposed solution cannot be used for
all combinations of Lower and Upper.

Also I just realised that I cannot use Mark's suggestion
  bb_min( labeling( LIS ), EXPR, bb_options with [delta:N] )
because this may rule out solutions between whose costs are
between the cost, COST, of the last found solution and
COST + N - 1.

Thanks anyway.


Marc van Dongen
M.R.C. van Dongen | CS Dept University College Cork    |        () | Cork Constraint Computation Centre |        /\
+353(0)21 4903578 | Western Road                       |   ASCII ribbon
                  | Cork, Ireland                      | against html mail
Received on Fri Aug 02 15:43:16 2002

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