Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
80 views

I am new to linear programming and I am playing with solving the following task with linear programming using the most recent versions of GLPK (https://www.gnu.org/software/glpk/) and MathProg (https:/...
bliako's user avatar
  • 1,233
Tooling
0 votes
0 replies
74 views

I'm looking for a good package to train a linear quantile regression model, i.e. $\hat y = \sum_{i=1}^n w_i \cdot X_i$. With $x_i$ are the input features, and $w_i$ are the bounded trainable weights. ...
student13's user avatar
0 votes
1 answer
182 views

I'm running an optimization problem using scipy MILP function. I get to the point where the solving report pops up, either through time limit or solution (see below). When the solving report pops up, ...
stackoverflowuser124112's user avatar
3 votes
2 answers
117 views

I'm trying to select 5 values in the first row, 1 value in rows 2-9, and maximize the objective function. The only thing I can't figure out how to embed in the problem is that I can only choose a ...
BSHuniversity's user avatar
1 vote
1 answer
152 views

I want to build a function that can look at the raw material on hand information I provide, then come up with combinations of inputs to achieve a desired number of finished products. on_hand_inventory ...
LT_AKR's user avatar
  • 81
0 votes
2 answers
143 views

I'm relatively new to both Python and Pyomo. I'm building an optimization script as one of my first projects. ChatGPT is hallucinating and I cannot find an example of how to properly set up the model ...
newbootgoofing's user avatar
2 votes
1 answer
90 views

I'm trying to formulize a constraint programming solution for item allocation on shelf. The goal is simple items belonging to same brand should be kept as close as possible and should maintain a ...
Anand's user avatar
  • 391
1 vote
2 answers
272 views

I have the following example of a small example of a linear program in Rust: use good_lp::{variables, variable, default_solver, SolverModel, Solution, constraint}; fn main() { // Declaring binary ...
hallo007's user avatar
  • 123
1 vote
1 answer
86 views

I have a set of 3 complex vectors, I want to a find a linear combination of these vectors that would amount to an offset (y = c) - like an array with all elements equal to each other, within a ...
Spectroscopist1812's user avatar
0 votes
1 answer
241 views

I want to make a python script, which takes in a list of inequalities as input. Each inequality is a list: [c0, c1, ..., cn] which represents the following: c0​ + c1​x1 ​+ c2​x2 ​+ ...+ cn​xn ​≤ 0 I ...
Michael Zheng's user avatar
0 votes
1 answer
47 views

I am trying to model an optimisation problem where each item in a list is essentially power generated at that hour. I am trying to minimise the amount of energy stored while still getting the same ...
Trev's user avatar
  • 21
2 votes
1 answer
226 views

I'm trying to allocate shelf space to items on planogram using constraint programming. It is a big problem and I'm trying to implement piece by piece. At first we're just trying to place items on ...
Anand's user avatar
  • 391
0 votes
1 answer
66 views

I need to solve one LP per thread at the same time. I'm coding in Matlab and using gurobi as a solver. Since gurobi is an API that actually run calculations in C++, I'm unable to use several threads ...
Alekzei Vallarfax's user avatar
1 vote
3 answers
130 views

i have a list of Hitters in python with their name,projection and Positions juan-soto 30.3773 ['OF'] kyle-tucker 44.0626 ['OF'] ... yordan-alvarez 32.510200000000005 ['CI', 'OF'] william-contreras 26....
markus's user avatar
  • 19
1 vote
1 answer
95 views

I am working on optimizing the decision threshold of a trained decision model for a binary case (targets 0 and 1). I want to optimize the decision threshold of the model, i.e. the point at which the ...
emil's user avatar
  • 343

15 30 50 per page
1
2 3 4 5
176