Pyomo solver plugin for the ripopt NLP solver
Project description
pyomo-ripopt
Pyomo solver plugin for ripopt, a fast interior-point NLP solver written in Rust.
Installation
pip install pyomo-ripopt
This installs the solver plugin and a bundled ripopt binary. No Rust toolchain needed.
Usage
import pyomo_ripopt # registers the solver
from pyomo.environ import *
model = ConcreteModel()
model.x = Var(initialize=0.5)
model.obj = Objective(expr=(model.x - 2)**2)
solver = SolverFactory('ripopt')
result = solver.solve(model, tee=True)
print(f"x* = {value(model.x)}") # 2.0
Solver Options
Pass options the same way as Ipopt:
solver = SolverFactory('ripopt')
solver.options['max_iter'] = 1000
solver.options['tol'] = 1e-10
solver.options['print_level'] = 5
Building from Source
If a pre-built wheel is not available for your platform:
cargo install ripopt # installs the ripopt binary
pip install pyomo-ripopt --no-binary :all:
The solver will find the ripopt binary on your PATH.
License
EPL-2.0, same as ripopt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyomo_ripopt-0.7.0.tar.gz.
File metadata
- Download URL: pyomo_ripopt-0.7.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a6db54c6a64e645ee3a09345fe4f1f79705552b5ffd55bfa622d455b55e31ce
|
|
| MD5 |
4b27b74a122809635d6db582fba5e47d
|
|
| BLAKE2b-256 |
be02092ae1da1829fe8df5542c0eae4dd2d4e54fd4a4442c812ced22185c2f80
|
Provenance
The following attestation bundles were made for pyomo_ripopt-0.7.0.tar.gz:
Publisher:
publish-pyomo.yml on jkitchin/ripopt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyomo_ripopt-0.7.0.tar.gz -
Subject digest:
5a6db54c6a64e645ee3a09345fe4f1f79705552b5ffd55bfa622d455b55e31ce - Sigstore transparency entry: 1363007764
- Sigstore integration time:
-
Permalink:
jkitchin/ripopt@c36349e7cec701a2d07efc86dee9c4127822f039 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/jkitchin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pyomo.yml@c36349e7cec701a2d07efc86dee9c4127822f039 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyomo_ripopt-0.7.0-py3-none-win_amd64.whl.
File metadata
- Download URL: pyomo_ripopt-0.7.0-py3-none-win_amd64.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e07241b56bac057e41d89400c02b2642d736d7c717e6bd2b3322a676716d48e
|
|
| MD5 |
d6bef42a2fbbed450ceea105a0c125b6
|
|
| BLAKE2b-256 |
50a6d02ba984b9f1a6a874cfd958a6942dda009e3171c89dbd8f9d79ef915d92
|
Provenance
The following attestation bundles were made for pyomo_ripopt-0.7.0-py3-none-win_amd64.whl:
Publisher:
publish-pyomo.yml on jkitchin/ripopt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyomo_ripopt-0.7.0-py3-none-win_amd64.whl -
Subject digest:
0e07241b56bac057e41d89400c02b2642d736d7c717e6bd2b3322a676716d48e - Sigstore transparency entry: 1363007792
- Sigstore integration time:
-
Permalink:
jkitchin/ripopt@c36349e7cec701a2d07efc86dee9c4127822f039 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/jkitchin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pyomo.yml@c36349e7cec701a2d07efc86dee9c4127822f039 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_x86_64.whl.
File metadata
- Download URL: pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_x86_64.whl
- Upload date:
- Size: 22.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de2a882789df04e8610b990b728b24b54543e70092efe545eefde4fef5bfb53
|
|
| MD5 |
6305b7eb578f3b447d7acb8b78d36c8d
|
|
| BLAKE2b-256 |
51e1650864abc0446e877cf50a05909c751063c06ffc3d801e3e1bafa0a3dfd2
|
Provenance
The following attestation bundles were made for pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_x86_64.whl:
Publisher:
publish-pyomo.yml on jkitchin/ripopt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_x86_64.whl -
Subject digest:
5de2a882789df04e8610b990b728b24b54543e70092efe545eefde4fef5bfb53 - Sigstore transparency entry: 1363007891
- Sigstore integration time:
-
Permalink:
jkitchin/ripopt@c36349e7cec701a2d07efc86dee9c4127822f039 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/jkitchin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pyomo.yml@c36349e7cec701a2d07efc86dee9c4127822f039 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_aarch64.whl.
File metadata
- Download URL: pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_aarch64.whl
- Upload date:
- Size: 21.5 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0218fa02ee4665e48275814ed82b169893047f3922558757259fcd383b5353e0
|
|
| MD5 |
5a710ae53ac56d30ce32e8243d8e15a6
|
|
| BLAKE2b-256 |
ab963620c39f77b6391a76e405bd2dfa9e777dd49d8a8387ab375714502856e3
|
Provenance
The following attestation bundles were made for pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_aarch64.whl:
Publisher:
publish-pyomo.yml on jkitchin/ripopt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyomo_ripopt-0.7.0-py3-none-manylinux_2_17_aarch64.whl -
Subject digest:
0218fa02ee4665e48275814ed82b169893047f3922558757259fcd383b5353e0 - Sigstore transparency entry: 1363007930
- Sigstore integration time:
-
Permalink:
jkitchin/ripopt@c36349e7cec701a2d07efc86dee9c4127822f039 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/jkitchin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pyomo.yml@c36349e7cec701a2d07efc86dee9c4127822f039 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyomo_ripopt-0.7.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyomo_ripopt-0.7.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
204e7eae125a4e38ae453bdb2760583c8f7f5aa814ececf5dd59f5e14a0bad6b
|
|
| MD5 |
5e53737f76a7a1e89e83f5782681358a
|
|
| BLAKE2b-256 |
2aa64867024d5686419a98b8a5cd64a943dfbea50a88105376007db0dd9f81a9
|
Provenance
The following attestation bundles were made for pyomo_ripopt-0.7.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
publish-pyomo.yml on jkitchin/ripopt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyomo_ripopt-0.7.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
204e7eae125a4e38ae453bdb2760583c8f7f5aa814ececf5dd59f5e14a0bad6b - Sigstore transparency entry: 1363007860
- Sigstore integration time:
-
Permalink:
jkitchin/ripopt@c36349e7cec701a2d07efc86dee9c4127822f039 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/jkitchin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pyomo.yml@c36349e7cec701a2d07efc86dee9c4127822f039 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyomo_ripopt-0.7.0-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: pyomo_ripopt-0.7.0-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
567f2611ea321fac4f413e254cd58313a508c5d6047238ddce328404c42aa7bd
|
|
| MD5 |
7ee1f2ce84c2280a11401eeb3d7bc890
|
|
| BLAKE2b-256 |
0a4eea43bff052c4068922ebd62da7a16d3dc6cc1513cdcb223097659449bef8
|
Provenance
The following attestation bundles were made for pyomo_ripopt-0.7.0-py3-none-macosx_10_12_x86_64.whl:
Publisher:
publish-pyomo.yml on jkitchin/ripopt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyomo_ripopt-0.7.0-py3-none-macosx_10_12_x86_64.whl -
Subject digest:
567f2611ea321fac4f413e254cd58313a508c5d6047238ddce328404c42aa7bd - Sigstore transparency entry: 1363007833
- Sigstore integration time:
-
Permalink:
jkitchin/ripopt@c36349e7cec701a2d07efc86dee9c4127822f039 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/jkitchin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pyomo.yml@c36349e7cec701a2d07efc86dee9c4127822f039 -
Trigger Event:
push
-
Statement type: