[gecode-users] Decision Variables

Christian Schulte cschulte at kth.se
Mon Jun 25 14:30:32 CEST 2007


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: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Nick Hindle
Sent: Sunday, June 24, 2007 10:54 AM
To: users at gecode.org
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





More information about the gecode-users mailing list