constraint-programming Questions - OR-Exchange most recent 30 from http://www.or-exchange.com 2010-07-31T00:59:19Z http://www.or-exchange.com/feeds/tag/constraint-programming http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://www.or-exchange.com/questions/419/graph-coloring-solvers Graph Coloring Solvers Sid 2010-06-04T02:00:27Z 2010-07-06T12:10:41Z <p>Hey,</p> <p>I'm curious about the state of the art in solving graph coloring (by solving I mean finding the optimal coloring and proving that it is optimal).</p> <p>Can someone point me to papers describing solvers/implementation of solvers both for finding colorings quickly and for proving optimality which are state of the art?</p> <p>Thanks</p> http://www.or-exchange.com/questions/347/minimal-backtracking-proof-tree Minimal Backtracking Proof Tree Sid 2010-05-06T00:11:56Z 2010-05-14T20:44:17Z <p>When trying to prove that a particular instance of a problem like SAT is unsatisfiable, generally one explores the search tree using an algorithm like DPLL and the proof of unsatisfiability consists of the exhaustive exploration of the search tree - i.e. try an partial assignment of values to variables, do propagation and if the domain of a variable becomes empty, you know the assignment does not satisfy the instance so you backtrack. By propagation I mean, one looks at every constraint and then for every variable in the constraint, one prunes the values in the domain of the variable which are not part of any model satisfying that particular constraint.</p> <p>My question is that how hard in terms of computational complexity is to find a search tree proving infeasibility of minimal size, i.e. if the size of the search tree is $S$, then how hard is it to find the minimal such search tree given that the size of the input is taken as $S$ (Note - that can be much larger than the size of the original problem, exponential in the worst case). </p> http://www.or-exchange.com/questions/191/any-finite-domain-nlp-benchmark-tests Any finite domain NLP benchmark tests? Dmitrey 2010-04-10T09:43:09Z 2010-04-10T14:29:53Z <p>Hi all, I would like to perform some benchmarks over a set of nonlinear problems where some functions (objective or nonlinear constrains) are defined over restricted domains, e.g.</p> <p>an_objective - > min</p> <p>wrt</p> <p>x>0</p> <p>x + 5y + 0.01 * x * sqrt(x) &lt; -10</p> <p>I would easily write my own set of tests (there are some already done), but since my solver is involved (http://openopt.org/ralg, latest stable release vs my current implementation vs some other solvers) it would be much better to have a set taken from an external source, preferably an article or a book. I have searched google with "finite domain non linear benchmark" but there are no appropriate results (I don't know about some non-free journals, however).</p> <p>So, does anyone know any appropriate source?</p> <p>Thank you in advance, D.</p> http://www.or-exchange.com/questions/180/question-about-or question about OR Alice ichoneS 2010-03-18T14:45:20Z 2010-03-18T20:08:25Z <p>Maximize P= 10x + 2y [rest deleted. No really: no homework!]</p> http://www.or-exchange.com/questions/127/extracting-gomory-cuts-out-of-cgl-coin-or Extracting Gomory cuts out of Cgl (Coin-or) Sid 2010-01-05T02:19:58Z 2010-01-07T02:26:55Z <p>Hey,</p> <p>I'm trying to extract Cgl Gomory cuts out of the <a href="https://projects.coin-or.org/Cgl" rel="nofollow">Cgl</a> (Cut Generation Library) of Coin-Or The following is the code I'm using to extract the cuts -</p> <pre><code>OsiCuts cutlist; CglGomory * gomory = new CglGomory(); gomory-&gt;setLimit(100); gomory-&gt;generateCuts(*sym, cutlist) ; </code></pre> <p>where sym is an instance of OsiSymSolverInterface (the OsiSolverInterface for Symphony). Unfortunately the code is segfaulting at generateCuts somewhere inside the method as far as I've been able to determine using gdb.</p> <p>Extraction of CglProbing cuts is likewise segfaulting again inside the generateCuts method of the CglProbing class. </p> <p>All other cuts seem to be working fine.</p> <p>If someone could shed some light on this or even better, post/link to an example file using these cuts or a tutorial of some sort, that would great. If there's an example/tutorial for extracting cuts out of some other solver like SCIP instead of Coin-OR, that would work too.</p> <p>Thanks </p> http://www.or-exchange.com/questions/124/cp-and-integer-programming CP and Integer programming ShahinG 2009-12-31T20:17:06Z 2010-01-06T05:53:01Z <p>Hi everybody,</p> <p>Does anyone know a good reference or tutorial in the spirit of the book "Model building in mathematical programming" for Constraint Programming techniques for solving MIPs?</p> <p>Thanks in advance Regards, Shahin</p> http://www.or-exchange.com/questions/80/how-do-you-decide-whether-mip-or-cp-is-more-appropriate How do you decide whether MIP or CP is more appropriate? CLC 2009-12-01T15:34:56Z 2009-12-11T13:42:21Z <p>What are some guidelines for deciding whether a MIP or CP approach is more appropriate for modeling an optimization problem? Or in what cases should CP be used instead of MIP?</p>