Re: [gecode-users] Cost optimization problem

2016-10-04 Thread Sebastien Delmotte
] Envoyé : vendredi 23 septembre 2016 00:59 À : Sebastien Delmotte Cc : Christian Schulte; users@gecode.org Objet : Re: [gecode-users] Cost optimization problem I think the problem here is that you’re not branching over the cost variable. With float variables, it’s not guaranteed that just because

Re: [gecode-users] Cost optimization problem

2016-10-04 Thread Sebastien Delmotte
00:59 À : Sebastien Delmotte Cc : Christian Schulte; users@gecode.org Objet : Re: [gecode-users] Cost optimization problem I think the problem here is that you’re not branching over the cost variable. With float variables, it’s not guaranteed that just because all x[i] are assigned (i.e

Re: [gecode-users] Cost optimization problem

2016-09-22 Thread Guido Tack
.x); >t_cost.update(*this, share, s.t_cost); >} > >virtual Space* >copy(bool share) { > return new Tests(share,*this); >} > }; > > > float main(float argc, char* argv[]) { > >Options opt("Test"); >opt.solutio

Re: [gecode-users] Cost optimization problem

2016-09-22 Thread Sebastien Delmotte
origine- De : users-boun...@gecode.org [mailto:users-boun...@gecode.org] De la part de Sebastien Delmotte Envoyé : mardi 20 septembre 2016 10:37 À : cschu...@kth.se Cc : users@gecode.org Objet : Re: [gecode-users] Cost optimization problem Dear Christian, I've tried to play with the

Re: [gecode-users] Cost optimization problem

2016-09-20 Thread Sebastien Delmotte
x27;Sebastien Delmotte'; users@gecode.org Objet : RE: [gecode-users] Cost optimization problem Hi, That's strange... Did you try to play with the step value as explained in MPG 7.3? Cheers Christian -- Christian Schulte, www.gecode.org/~schulte Professor of Computer Science, KTH, cschu.

Re: [gecode-users] Cost optimization problem

2016-09-16 Thread Christian Schulte
-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Sebastien Delmotte Sent: Friday, September 16, 2016 13:08 To: cschu...@kth.se; users@gecode.org Subject: Re: [gecode-users] Cost optimization problem Dear Christian, Thank you for your answer. When I transform all the code from

Re: [gecode-users] Cost optimization problem

2016-09-16 Thread Sebastien Delmotte
-Message d'origine- De : Christian Schulte [mailto:cschu...@kth.se] Envoyé : jeudi 15 septembre 2016 17:03 À : 'Sebastien Delmotte'; users@gecode.org Objet : RE: [gecode-users] Cost optimization problem Hi, Sorry but I think this is really a modelling issue and not a G

Re: [gecode-users] Cost optimization problem

2016-09-15 Thread Christian Schulte
Hi, Sorry but I think this is really a modelling issue and not a Gecode issue, as you have already figured out 3). Cheers Christian -- Christian Schulte, www.gecode.org/~schulte Professor of Computer Science, KTH, cschu...@kth.se Expert Researcher, SICS, cschu...@sics.se -Original Message-