Dear Nick,

sure that's possible. But if you have a look to Example::run you will see
that it does nothing really interesting, so maybe you just rip out the code
and implement your own method to setup and run your problem.

All the best
Christian



--
Christian Schulte, http://www.imit.kth.se/~schulte/ 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Nick Hindle
Sent: Sunday, June 24, 2007 10:54 AM
To: [EMAIL PROTECTED]
Subject: [gecode-users] Decision Variables


Hi,

Is it possible to define an overload on Example::run to enable values for
the domain variables to be passed from command line arguments, rather than
having them compiled into the example (such as in cars.cc)?

The reason for this is that I would like to observe the effects of changing
the values of the domain variables on the solution, which means repeately
executing the example program, and so would like to avoid re-compiling each
time.

Thankyou,

Nick


_______________________________________________
Gecode users mailing list
[EMAIL PROTECTED]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to