Questions tagged [or-tools]
Questions related to or-tools, Google's open-source software suite for optimization
176
questions
0
votes
1
answer
284
views
Or-Tools: Process finished with exit code 132 (interrupted by signal 4: SIGILL)
Now I am using Or-Tools via the Java interface to solve a LP.
ModelBuilder model = new ModelBuilder();
ModelSolver solver = new ModelSolver("SCIP");
...
1
vote
4
answers
570
views
Google-OR Tools: Assignment minimizing overlapping members
I'm rusty on constraint optimization and am looking for help in this particular use case. There are individuals who are each member to several teams. This is a fixed many-to-many relationship and is ...
3
votes
2
answers
380
views
OR-Tools CP-SAT solver: is it possible to name a constraint like in GUROBI
I try to implement cp model with OR-tools CP-SAT solver. Please, is it possible to name constraints for being able to manage conflict later like for variables:
...
1
vote
0
answers
100
views
How to cmpute IIS using the Or-Tools solver?
I'm trying to solve a MIP using Google Or-Tools, but it's showing that the model is infeasible. I'd like to know if there is a convenient way to analyze which constraint or variable bounds are causing ...
1
vote
1
answer
173
views
Output a readable model file and control the solver parameters in Or-Tools
I am using Java to call the API of or-tools in IntelliJ IDEA to solve a mixed-integer programming problem. There are some modeling statements such as ...
1
vote
2
answers
70
views
Evaluation of linear expression with docplex based on a solution
For a CpModel using docplex, is there any function to evaluate a linear expression based on the variables values in the final solution?
For example, for ...
1
vote
1
answer
164
views
Non integer linear objective in or-tools CP-SAT
It seems that or-tools' CP-SAT solvers allows for non-integer coefficients in a linear objective expression. Am I correct, or is it just that the solver doesn't check for integrity and rounds the ...
1
vote
1
answer
104
views
Scheduling repeated tasks with minimum duty cycles
Several tasks need to run repeatedly in a channel, one at a time, over a repeating time frame of length $T$. Associated to each task $i$ is the duration $L_i$ the task will take to run, and a maximum ...
0
votes
2
answers
91
views
Formulating assignment problem with people attributes that need to be balanced per assignment attribute in or-tools, CP-sat
I'm trying to do an assignment problem with the following characteristics:
I have two sets that need to be matched with each other, set A (Students) and set B (Class combinations). Set A and B have ...
0
votes
1
answer
166
views
Using binary variable or integer variable in Constraint Programming (CP)?
I am trying to solve an assignment problem by Constraint Programming (CP). Let us consider a task assignment problem that have $|M|$ tasks and $|N|$ machines, each task has different processing time ...
5
votes
1
answer
162
views
Numerically stable way to optimize a lexicographical preference between two objective functions?
I am solving a mixed-integer program whose decision variables are $x \in \{0, 1\}^n$ and $y \in \mathbb{R}^m$, where $0 \leq y_j \leq u_j$ for constant upper bounds.
My primary objective function is ...
3
votes
0
answers
44
views
Adding synchronisation constraint in Prize-collecting VRPTW
I am solving a Prize Collecting VRPTW. In my problem, each node represents a visit that needs to be made within a certain time window, and the "prize" for each node is the time spent at the ...
0
votes
1
answer
123
views
Team Orienteering Problem with Time Windows infeasible using CP-SAT solver in Google OR-Tool
I am developing a TOPTW where there are a set of N nodes. Each node i is associated with a visit time, which is also the score Si. The starting point and the end point of each tour is fixed, which is ...
1
vote
1
answer
269
views
Are there any hidden differences in OR-Tools' default parameters for a MIP model in Python vs C++?
or-tools-discuss cross post here.
As a disclaimer -- I am very aware that OR-Tools' Python code are just wrappers around their C++ source code. I'm just getting an odd discrepancy between a model ...
2
votes
1
answer
118
views
Rearrange 'x' piles of items into eight possible locations/bins based on item color and length
I have an optimization problem that I believe is a variant of the 'bin packing problem with precedence', but I'm unsure of if that is the correct paradigm to work with and I'm not having a huge amount ...