[gecode-users] how to use the bab() function

lana light lanalight1989 at gmail.com
Tue Dec 3 17:48:20 CET 2013


Hi

I'm new with gecode , so i tried to use the BAB engine to solve my model
because i want just to gt the bst solution so i found in the MPG the
function bab() that can help me do it my problem here that i don't know
when to put it :

this is my main :

*int main(int argc, char* argv[]) {*
*  manel* m = new manel;*
*  BAB<manel> e(m);*
*  delete m;*
*  while (manel* s = e.next()) {*
*    s->print(); delete s;*
*  }*

*  system("pause");*
*  return 0;*
*}*

so here i try to get all the solution but i want just the best so could you
tell me where to put *bab()* exactly , it seems stupid but i don't konw

Thankx

LANA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20131203/999f7fae/attachment.html>


More information about the users mailing list