python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to extract variables that equal a certain value in pyomo?
I am building a linear optimization model and trying to extract key information from my decision variable values. instance.x.display() displays the following sample
x : Size=121, Index=x_index
Key...
Berbatov
Votes: 0
Answers: 1
Python PulP linear optimisation for off-grid PV and battery system
I'm trying to use linear optimisation to minimise the size of solar PV and battery for an off-grid property. I have solar irradiance data and household energy consumption data - I have created a year'...
jmcq2
Votes: 0
Answers: 1
model.update performance in the model
I have a question about performance of the model.update in the gurobipy library.
Let's say I have a list of objects which I want to add as a variable to the model, also I want to add a constraint to e...
Ryszard Eggink
Votes: 0
Answers: 2
Microsoft Solver Foundation gives wrong answer for a simple ILP
I want to solve a binary Linear Problem in C# using Microsoft Solver Foundation. I don't know why I get wrong answer. The Objective Value should be 41.1 but I get 213. The value of 5 variables should ...
shm
Votes: 0
Answers: 1