Re: Need help using min_max

From: Joachim Schimpf <J.Schimpf_at_icparc.ic.ac.uk>
Date: Wed 24 Nov 1999 10:31:37 AM GMT
Message-ID: <383BBE89.62A74544@icparc.ic.ac.uk>
Nira Brand wrote:
> 
> Dear Eclipse Users,
> 
> I'm having a very beginning level problem that I have not been
> able to solve by myself: I cannot correctly implement min_max
> or any other optimazation predicate.

I guess your are talking about using (rather than implementing)
the predicate?  This is a simple example:

[eclipse 3]: [X,Y]::1..9, X+Y #= 12, min_max(labeling([X,Y]), X).
Found a solution with cost 3

Y = 9
X = 3
yes.



------------------------------------------------------------------------
 Joachim Schimpf                /               phone: +44 171 594 8187
 IC-Parc, Imperial College     /              mailto:J.Schimpf@ic.ac.uk
 London SW7 2AZ, UK           /      http://www.icparc.ic.ac.uk/eclipse
Received on Wed Nov 24 10:31:37 1999

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