Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CyIpopt interface to subclass cyipopt.Problem #2760

Merged
merged 33 commits into from
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2ef3754
subclass cyipopt.Problem instead of passing CyIpoptProblemInterface a…
Robbybp Mar 2, 2023
1622477
call cyipopt.Problem.__init__ from CyIpoptProblemInterface.__init__
Robbybp Mar 3, 2023
1196a5b
add test for error message when cyipopt not available
Robbybp Mar 3, 2023
1509831
Merge branch 'main' into cyipopt-subclass
Robbybp Mar 3, 2023
20b536e
Merge branch 'cyipopt-subclass' of https://github.com/robbybp/pyomo i…
Robbybp Mar 3, 2023
fc1a533
skip test that uses CyIpoptNLP unless cyipopt_available
Robbybp Mar 3, 2023
0f4503f
add cyipopt to list of potentially slow-loading modules
Robbybp Mar 3, 2023
436221f
do not import cyipopt_available out of pyomo.common.dependencies
Robbybp Mar 3, 2023
ae55bde
remove cyipopt from slow-loading module set
Robbybp Mar 3, 2023
42d4de4
Merge branch 'main' of https://github.com/pyomo/pyomo into cyipopt-su…
Robbybp Mar 14, 2023
60c567f
move CyIpoptNLP and CyIpoptProblemInterface to their own file and int…
Robbybp Mar 14, 2023
67dc2f1
move cyipopt_interface.py to pynumero/interfaces/
Robbybp Mar 14, 2023
f06409a
access cyipopt_available from cyipopt_interface module
Robbybp Mar 14, 2023
1c56631
update imports to import CyIpoptNLP out of cyipopt_interfaces instead…
Robbybp Mar 14, 2023
028fafe
call gc.collect before removing log files to try to make sure ipopt l…
Robbybp Mar 14, 2023
c956c3a
Merge branch 'main' into cyipopt-subclass
jsiirola Mar 18, 2023
c584364
call close before removing log file to attempt to remove lock
Robbybp Mar 18, 2023
be5b2b9
add call to cyipopt.Problem.close at end of PyomoCyIpoptSolver.solve
Robbybp Mar 18, 2023
f528f1c
add a cyipopt.Problem.close call to a test that was missing it
Robbybp Mar 19, 2023
2bab691
Merge branch 'main' of https://github.com/pyomo/pyomo into cyipopt-su…
Robbybp Mar 28, 2023
fad198e
call close() on user-created problem object rather than private _prob…
Robbybp Mar 28, 2023
e90e242
note that close must be called to force Ipopt to release its lock on …
Robbybp Mar 28, 2023
8a19dd6
Merge branch 'main' of https://github.com/pyomo/pyomo into cyipopt-su…
Robbybp Apr 8, 2023
2a07e10
run black on files I missed
Robbybp Apr 8, 2023
7edf82d
re-run black, now with --skip-string-normalization
Robbybp Apr 8, 2023
fb451d9
Merge branch 'main' of https://github.com/pyomo/pyomo into cyipopt-su…
Robbybp Apr 17, 2023
e028e1d
update formatting for consistency with black
Robbybp Apr 17, 2023
eba9b39
fix indentation
Robbybp Apr 17, 2023
20e6b1b
comma at end of arg list
Robbybp Apr 17, 2023
5a8d7b2
remove whitespace
Robbybp Apr 17, 2023
5dde096
Merge branch 'main' of https://github.com/pyomo/pyomo into cyipopt-su…
Robbybp Apr 22, 2023
928250b
add flag and check to catch if solve is calledwhen cyipopt.Problem.__…
Robbybp Apr 22, 2023
74aadec
NFC: Fixing string formatting
blnicho Apr 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading