Re: [eclipse-clp-users] bb_min: search did not instantiate cost variable

From: Joachim Schimpf <joachim.schimpf_at_...44...>
Date: Mon, 16 Nov 2009 18:56:48 +1100
Igor Kondrasovas wrote:
> Hello,
> 
> I’m currently running an unexpected behavior while testing my code.
>
> With a tiny change on the values of my input query, I get the following
> runtime error:
> 
> “bb_min: search did not instantiate cost variable”

The message means what it says: your cost variable Cost is not
instantiated at the end of labeling.

Remove the minimize, and try running your program just with labeling:
You see that at the end your Cost variable looks like _14253{[4, 5]}.
Why?  Because the U variables, from which the cost is computed, are
not instantiated.  You have to label them as well.

-- Joachim
Received on Mon Nov 16 2009 - 07:56:45 CET

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