Questions tagged [operations-research]

Operations Research is the application of quantitative techniques to decision making, typically involving mathematical optimization. Problems include dynamic programming, linear programming and Integer programming & discrete optimization.

Operations Research is the application of quantitative techniques to decision making, typically involving mathematical optimization. A problem is modeled as a math formulation, and the solution obtained via a solver. Problems in OR include dynamic programming, linear programming and Integer programming and discrete optimization.

The other names for Operations Research (OR) include Decision Science, Management Science, or Operational Research.

The Wikipedia page on Operations Research. INFORMS, the society for OR practitioners has a lot of relevant information.

192 questions
0
votes
0 answers

Should I frame my problem as VRP or as Transportation Problem

Please help me whether I should model the below problem as VRP or as Transportation problem. The problem I am trying to solve is: I have multiple products to transport from multiple Warehouses to 2 shops. I have a fleet size with varying capacity…
0
votes
1 answer

Adding records in the GAMS dotnet api have no keys

When adding records to a set, the resulting keys variable contains only one empty string, instead of the expect "i1". var workspace = new GAMSWorkspace("TestWorkspace"); var database = workspace.AddDatabase(); var set = database.AddSet("TestSet",…
jasdefer
  • 757
  • 12
  • 24
0
votes
1 answer

Pyomo: How to write a constraint for each (i,j) pair

Edit: I have also added a constraint 1.5 to illustrate maybe a different way of approaching the constraint. I am trying to write the following constraints in Pyomo for each (i,j) pair on an MxN grid: The code that I have thus far is as follows,…
GrayLiterature
  • 381
  • 2
  • 13
0
votes
1 answer

Broadcast Schedule Selection

I have an 11 week game schedule for 11 teams (5 games each week). I need to try to select from that list 11 games (1 each week) that provide each of the 11 teams with a broadcast of one home and one away game. Ideally this would be code that I…
0
votes
2 answers

Google OR-Tools to arrange visits of single worker and groups depending on the site

What is the best way to use Google OR-Tools to solve Vehicle Routing Problem combined with Resource Scheduling? The case is that some sites needs 1 worker and some others need many workers. For example, one site visit needs 1 field technician with…
Muhammad Altabba
  • 2,583
  • 19
  • 31
0
votes
1 answer

Algorithms for Optimization of Integer Subset Linking

Consider having two sets of integer values that are divided in multiple subsets. The two sets exist of the same set of values but the order and the division into subsets differ. The idea is to link the subsets from the first set with these from the…
0
votes
1 answer

Formulate algorithm to evenly distribute delivery quantities using linear programming

I am trying to solve a supply chain problem using optimisation and linear programming. I am not a optimisation expert and I am having trouble formulating a solution using variables, constraints and goals. It is only a proof of concept, and I have…
0
votes
1 answer

Markov Chain Adjusting Initial State Vector to Solve For Desired Vector Element

I'm trying to increase the initial state vector in a discrete Markov chain at each step in order to solve for a state vector element at some future point time, and it seems to be quite cumbersome. For a simple example, assume a corporation has an…
0
votes
0 answers

Cost Optimization for different suppliers depending on quantities

I am trying to optmize the minimum cost based on suppliers' cost for one product. The first restriction is that the price varies based on cost, so on the 1st supplier, if you buy 1<=x<5 the price is 107 and if x>=5 the price is 90. Another…
0
votes
1 answer

Solving Prize Collecting Steiner Tree with Gurobi

I'm new to modeling mathematical programming problems. I'm trying to solve an exercise about networks optimization with Gurobi solver. This is what the exercise says: `The graph graph10092015.gml in the attached file contains a set of potential…
0
votes
1 answer

PuLP-OR: Can you delete variables already created?

My question is very simple. Is it possible to delete a variable that I have already created? Or my only hope is to not create the variable to begin with? I guess if you can print a variable then using: del prob.variable would delete it. But I can't…
0
votes
1 answer

How do I choose parameters according to a condition when modelling an LP?

I am trying to write a mixed integer model in IBM CPLEX, and I have a problem. Here's the problem: There are several different courses that a student can take, and the utility that a student gains from a course is dependent on both the student and…
0
votes
1 answer

double sum with a binary variable of three elements. How to code?

I am studying time scheduling problem solving with linear programming. I am reading paragraph 2.5 from this book (pages 32-35) and I am trying to solve it with Java and javailp-lp_solve. long story short, I have a binary variable v(s,c,h) which…
Vassilis De
  • 363
  • 1
  • 3
  • 21
0
votes
1 answer

GLPK multiple dimension param

How do I use param Distance as following in GLPK? like param Distance {line in Line, dir in Direction , ori in Station , des in Station};? data; set Direction := Eastbound Westbound; set Line := District Piccadilly; set Station := ACTON_TOWN…
Baisheng
  • 1
  • 1
0
votes
2 answers

Resource constraint project scheduling

I need your help to solve this problem. I have a set of tasks, each task has its execution time. I have two types of constraints. first type is the precedence relationships between tasks. The second constraint type is allowing set of tasks to be in…
1 2 3
12
13