or-tools Questions

3

Solved

I'm using OR-Tool to solve a VRP problem. I have experimented a bit with the exemple problem in the doc and managed to write a functioning program, but, I do not understand the purpose of the SetGl...
Gers asked 7/10, 2019 at 7:49

2

I have been able to run an example version of the scheduling program from GitHub. However, as soon as I run it in Windows forms, I get the following error: System.TypeInitializationException: 'T...
Iodous asked 13/2, 2020 at 19:6

3

Solved

The problem I am trying to solve is a bit like the employee scheduling one here: https://github.com/google/or-tools/blob/master/examples/python/shift_scheduling_sat.py However, there are a few th...
Craftwork asked 16/7, 2019 at 16:47

1

Solved

I want to modify the bus scheduling problem from ortools so as each driver's shift to be consecutive in terms of slots and drivers can share a shift at the same time if needed. For example, assumin...
Antithesis asked 27/3, 2021 at 12:6

4

Solved

I a newbie in java, I wanna try google or-tools for vehicle routing problem Just try to run java example from here But I got this exception: java.lang.UnsatisfiedLinkError: no jniortools in java....
Musty asked 7/5, 2018 at 4:43

1

Solved

tools and im trying to use it to generate a timeTable for a highschool. Variables are Lesson, rooms, and timeslots and the goal of course to assign all the lessons to a certain room and a timeslot ...
Bucher asked 25/2, 2021 at 13:47

1

Solved

I have a problem where I have a set of warehouses with a given production capacity that send some product to a list of customers at a given cost. I'm trying to minimize the total cost of sending th...
Garnes asked 31/12, 2020 at 0:18

2

Solved

I am using Google OR-Tools to optimize the routing of a single vehicle over the span of a several day. I am trying to: Be able to specify the number of days over which to optimize routing. Be able...

1

Solved

I was working on a sample MIP program, a selection of a coed sports team starting lineup, and found a small example that comes up with a non-optimal result in Google OR-tools. The basics: Choose 5 ...

1

Solved

I have a list of Employee and a list of Mission. Each mission have a start time and a duration. In the cp model (Google CpSat, from or-tools package), I defined shifts = Dictionary<(int,int),Int...
Heliopolis asked 13/4, 2019 at 21:7

1

Solved

For a VRP in or-tools, is there a way to have vehicles start at some fixed locations, but allow for arbitrary end locations? The documentation https://developers.google.com/optimization/routing/rou...
Patrolman asked 13/9, 2020 at 19:34

1

Solved

I'm currently working on MiniZinc, and i have been running my models with the two solvers integrated in MiniZinc: Gecode and Chuffed. I've been running it in the IDE, but i am aware that it can be ...

3

Solved

I am new to the world of SAT solvers and would need some guidance regarding the following problem. Considering that: ❶ I have a selection of 14 adjacent cells in a 4*4 grid ❷ I have 5 polyomino...
Arabele asked 13/1, 2020 at 23:17

1

Solved

I would like to know how to define a complex objective function using or-tools (if it is possible). The basic example below shows how to have basic linear problem with Or-tools in python: solver ...

2

I'm implementing a similar solution for the Job-Shop problem with one difference: I don't know the machine that has to perform each task. Solving that is a part of the problem too. We can say, in f...
Jentoft asked 16/7, 2018 at 8:44

0

I've been working with or-tools for a few months now but have recently experienced the following miss: Model: 2 vehicles, each one has a start location s0, s1 and an end location t0, t1. 2 locat...
Creation asked 1/12, 2019 at 15:44

1

Solved

I'm trying to figure out how to get the complete list of possible solutions from the ortools.sat.python.cp_model. I understand I can print them, as in the example below, but it is not clear to me h...
Grosbeak asked 19/11, 2019 at 12:53

1

Solved

I'm using the ORTOOLS library for solving a VRP problem. I give it an initial feasible solution to my problem, satisfying all the constraints of my problem but sub-optimal. Then ORTOOLS performs a ...
Carline asked 8/9, 2019 at 14:6

1

The objective of the Cumulative Traveling Salesman Problem (CTSP) is to minimize the sum of arrival times at customers, instead of the total travelling time. This is different than minimizing the o...
Tove asked 29/8, 2019 at 4:46

1

Solved

I am using the CP-Sat solver to optimise a timetable I am making. However, this now takes a long time to solve. Is it possible to seed the solver with an old result, to act as a starting point, wit...
Wasson asked 25/7, 2019 at 13:25

3

I'm beginner in constraint programming and I'm using Google or-tools library in my c# program. I want to add following constraint to my solver: ((t1 >= 12 && t1 <= 15) || (t2 >= 16 &...

1

Solved

I am currently evaluating googles or-tools and just noticed that it's not really a solver on its own but mainly an interface to other solvers. What I'd like to know is which solvers this framework ...

1

I am working on a geometry problem with the OR-Tools constraint programming tools. Could one of you tell me the procedure to create a custom constraint? I dont really understand demon, model visi...
Autocatalysis asked 8/1, 2018 at 8:35

2

Solved

Is it possible to install the library on IntelliJ Idea? or do I have to use Visual Studio 2017? If so, how do I install it? I find the google documentation confusing.
Malonis asked 26/9, 2018 at 13:14

2

Solved

I have a set of many (10000+) items, from which have I have to choose exactly 20 items. I can only choose each item once. My items have profits, and costs, as well as several boolean properties (su...

© 2022 - 2025 — McMap. All rights reserved.