Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6114

For questions related to the Python optimization modeling package Pyomo. Pyomo is a Python-based open-source software package that supports a diverse set of optimization capabilities for formulating, solving, and analyzing optimization models. Pyomo allows users to formulate optimization problems in Python in a manner that is similar to the notation commonly used in mathematical optimization.

2 votes
1 answer
377 views

How to professionally write a constraint, where some variables take certain values of index ...

I am using Pyomo's concrete model to model a MILP mathematical model, coming from multiproduct pipeline scheduling. Some of our continuous variables are: w[i,t], R[i,t], D[i,t]. Fixing the indices …
Sik Sik's user avatar
  • 143
6 votes
Accepted

No executable found for solver 'ipopt

One of the most important things to keep in mind is that we should install Pyomo in another environment than the base environment together with its solvers. … However, this is not enough to use Pyomo properly. In the case of ipopt solver, it returns the error No executable found for solver 'ipopt'. …
Sik Sik's user avatar
  • 143
2 votes
1 answer
6k views

No executable found for solver 'ipopt

I first installed the latest version of ipopt through command line into my Pyomo environment and got the "No executable found for solver 'ipopt' " error. … But after studying the stackoverflow answers, I realized that I should downgrade the version of ipopt afterwards I got the same error, again when implementing a model in Pyomo. …
Sik Sik's user avatar
  • 143
3 votes
1 answer
543 views

Can we take the constraints from one model and plug them into the other model in pyomo?

Somewhere of the method, I need to use pyomo for each constraint whose parameters are uncertain to form the robust counterpart. … Generally speaking, if we have two models written in pyomo, can we merge their constraints together to form a new problem? …
Sik Sik's user avatar
  • 143