Skip to main content

Questions tagged [or-tools]

Questions related to or-tools, Google's open-source software suite for optimization

Filter by
Sorted by
Tagged with
2 votes
1 answer
320 views

Some good solver-agnostic modeling packages in Python are Pyomo and PuLP, with Pyomo being a little more versatile than PuLP. What are the equivalent non-commercial and well-supported solver-agnostic ...
Lin Sen's user avatar
  • 53
2 votes
1 answer
269 views

I want to return the solution of a cp-sat problem with respect to the below conditions. If the optimization time exceeds 600 seconds ( I am doing it by using solver.parameters.max_time_in_seconds) If ...
Anna's user avatar
  • 21
1 vote
0 answers
102 views

I am working on solving a large scheduling model using GOOGLE OR Tools, and was trying to add warm start to it via addHint() for one of the variables, from the ...
21vs's user avatar
  • 499
2 votes
1 answer
200 views

I am trying to formulate the shortest path prize collecting problem. If I use MTZ formulation then revisiting the nodes is not allowed. However the shortest path between 1 to 5 is shown in left ...
Optimization team's user avatar
0 votes
1 answer
179 views

I am using ortools pywraplp with CBC solver. I need to calculate at some point the balance of the previous period and apply a different coefficient depending on the sign of it. In order to do this, I ...
qwerty's user avatar
  • 103
-1 votes
2 answers
436 views

We're looking for a replacement for our custom-written scheduling algorithm with endless loops and ifs. Recently we've discovered that or-tools exist with cp-sat solver and the problem we're solving ...
SelfishCrawler's user avatar
1 vote
1 answer
176 views

I am quite new to constraint programming and cp-sat. By following this blog post and example, I have been able to mostly tailor it to suit my shift scheduling. However there is one constraint I would ...
Jackal's user avatar
  • 19
1 vote
0 answers
94 views

I am trying to solve capacitated vehicle routing problem (CVRP) using OR-TOOLS could you please tell me how guided local search (GLS) works for this problem in OR-TOOLS? I only find very general ...
Bombaroom Yellow's user avatar
0 votes
1 answer
141 views

Im pretty new in the world of CP. Currently Im trying to solved a single machine scheduling problem with changeovers. Here is my code and model: ...
Franco's user avatar
  • 37
1 vote
1 answer
222 views

I know that the ortools CVRP module, by default, is designed to minimize the total distance traveled among all vehicles. In my case, I am primarily concerned about making sure a very high percentage ...
Ralph Asher's user avatar
0 votes
1 answer
100 views

Please, cp-sat solver stopped just after first solution when i add the test on objective value. Here below the code of callback. ...
Issouf's user avatar
  • 77
5 votes
4 answers
757 views

I'm trying to solve some variants of the following problem: A 2D rectangular grid is given. Find the longest "snake" on it. Informally, a snake is a path that does not touch itself. In ...
Bubbler's user avatar
  • 241
1 vote
1 answer
164 views

I try to modeling this constraint (flow conservation constraint): Xi = sumj(Zij) = sumj(Zji). So I tried the first part : ...
Issouf's user avatar
  • 77
1 vote
1 answer
187 views

Please advise me a free solver for large linear programming problems that supports warm start can calculate shadow prices simultaneously solving the LP problem has Python interface I considered GLOP ...
Bombaroom Yellow's user avatar
-1 votes
1 answer
158 views

I am looking for more information in the above topics. The documentation shows the following; ...
Gerard L's user avatar

15 30 50 per page
1
2 3 4 5
14