Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
97 views

I am trying to linearise the function root mean square to use it in a linear optimisation or Mixed integer linear optimisation. Any idea how I could do this? For instance with the example below, if I ...
0 votes
1 answer
44 views

I have a Mixed Integer Programming problem very similar set up as introduced in this link. https://colab.research.google.com/github/ffraile/operations-research-notebooks/blob/main/docs/source/MIP/...
0 votes
3 answers
69 views

In PulP modeling, I have an integer variable s that can take on values 0, 1, or 2. I want a binary indicator variable y such that y=1 if s=0 or s=2, and y=0 if s=1. I tried defining three binary ...
cmukid's user avatar
  • 3
0 votes
1 answer
397 views

I am running an LP using pulp but getting the error AttributeError: 'NoneType' object has no attribute 'actualSolve'. So I found this post on determining the solvers that are available. This directed ...
0 votes
2 answers
93 views

In python, I’m trying to solve a problem of linear optimization with the pulp package. I have N continuous indicators and a dichotomous target. I need to select a subset of at most M indicators and a ...
0 votes
1 answer
75 views

I am having difficulty getting all classrooms to be assigned to a class for a room assignment problem. I am using a grid calculated based on class capacity & room capacity (values 0-1). ...
-2 votes
1 answer
131 views

I need pulp or pyomo to do ALL arithmetic operations exclusively using float32. It seems that the default they use is float64. The following are 2 examples from both pulp and pyomo for the sum ...
1 vote
1 answer
90 views

I have a task to optimize the cost of a product, for example, by finding the optimal combination of cans of paint of different volumes and prices for coloring a given square. The simplest example is: ...
1 vote
1 answer
208 views

In pulp's documentation https://coin-or.github.io/pulp/guides/how_to_debug.html, it says that Check the precision of the numbers. If you have very big numbers (with a high precision), this generally ...
-1 votes
1 answer
63 views

I have a pulp function that optimizes an objective function based on relationship between two arrays. In its simplest form the objective function acts on two 1D arrays x and y each of size 20. The ...
1 vote
1 answer
65 views

I am trying to optimize the number of store managers given different constraints. Basically I want to minimize the number of managers that have to visit stores everyday in the week. I designed the ...
kyraus's user avatar
  • 48
0 votes
0 answers
49 views

I am modelling to optimal behaviour of a household battery. The buying price from the grid is different than the selling price to the grid (buying price is always higher). How do I model this ...
-2 votes
1 answer
134 views

Objective Minimize the number of resource to handle all requirements The input that we have is list of requirements which needs to be allocated to any one of the resource from list of resource that ...
0 votes
1 answer
37 views

I have a pulp optimiser with a huge number of constraints. We have a condition that if the constraints are not feasible together then we need to try it on a subset of constraints that makes it ...
rachit_'s user avatar
0 votes
1 answer
84 views

I tried to use pulp to create a decision variable x with 3 dimesions.Then I defined a objective function. However the pulp showed P[j] * min(D[j], pl.lpSum(x[i, j, t] * Y[i, j] for i in fields)) - pl....

15 30 50 per page
1
2 3 4 5
...
65

AltStyle によって変換されたページ (->オリジナル) /