Re: Counting backtracks

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Fri 02 May 2003 02:52:27 PM GMT
Message-ID: <3EB2862B.281AD3D3@icparc.ic.ac.uk>
"Aminu, Farouk" wrote:
> 
> Hello,
> 
> I used:
> 
>  minimize((
>             mylabeling(SearchVars),
>             get_backtracks(B),
>             printf("Backtracks to this point = %d \n \n", [B])
>         ), OptimalNumber)
> 
> but I am getting the following message:
> 
> 'type error in printf("%d \n \n", [B])'

As you can see from the error message, B is not instantiated.
Probably because you haven't called init_backtracks.


-- 
 Joachim Schimpf              /             phone: +44 20 7594 8187
 IC-Parc                     /      mailto:J.Schimpf@imperial.ac.uk
 Imperial College London    /    http://www.icparc.ic.ac.uk/eclipse
Received on Fri May 02 15:52:35 2003

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