It is OK, it works very well :)
I prefered use and({ ... ]) instead of portfolio([ ... ]). It is more
closed what I want.
Thank you very much Guido :)
PS : It is a pity that the search combinators have not updated for
activity based search for example or default search :S
Best Regards,
Mohammed
I can't test it right now, but it should be like this:
portfolio([
%% minimise => obj1 < lv("best1")
%% maximize => obj1 > lv("best1")
and(
post(obj1 < lv("best1"),
and(s,assign(best1,obj1))
),
prune
),
%% minimise => obj2 < lv("best2")
%% maximize => obj2 > lv("best2")
and(
post(obj
-- Forwarded message --
From: Mohamed Rezgui
Date: 2014-03-12 20:53 GMT+01:00
Subject: Re: [gecode-users] Multi-objective Model with
Searchcombinators in Gecode
To: Guido Tack
Hi,
yes the two objective version works very well.
But when I did not found the good syntax for 3 and
-- Forwarded message --
From: Mohamed Rezgui
Date: 2014-03-12 20:21 GMT+01:00
Subject: Fwd: [gecode-users] Multi-objective Model with
Searchcombinators in Gecode
To: Guido Tack
Dear Guido,
I compile successfully searchcombinators with gecode 4.2.1 (I change
with the appropriate
Dear Guido,
I would like to know when I have more objectives like 3 objectives to
minimize (all of them), is the following syntax correct ?
annotation three_stage_bnb(var int: obj1, var int: obj2, var int:
obj3, ann: s) =
let { svar int: best1 = 100,
svar int: best2 = 0,
svar int: