Re: [eclipse-users] Applying conditionals on ranges

From: Joachim Schimpf (Independent Contractor) <"Joachim>
Date: Tue, 29 Jan 2008 11:35:03 +0000
Vivek Balaraman wrote:
> One of the requirements of the model I am trying to simulate using 
> Eclipse is to be able to apply conditionals on variables where different 
> outcomes lead to different constraints.
>  
> For example,
>  
> (A > 75 -> B $= 0.95 * A; B $= A)
>  
> i.e. depending on A's value, B may be either 0.95 of A or A.
>  
> Since A may be a range this is of course problematic.
>  
> Anyone have any ideas about how this may be handled?

You can find some discussion of this at
http://eclipse-clp.org/doc/tutorial/tutorial084.html and
http://eclipse-clp.org/doc/tutorial/tutorial059.html


-- Joachim
Received on Tue Jan 29 2008 - 11:35:11 CET

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST