Skip to content

Commit

Permalink
supports moi solvers without NlpBlock
Browse files Browse the repository at this point in the history
robustifies MOI term collection

fix

fix

fix

format

do the expression expansion ourselfs

adds returncode handling

format

make sure that simplify returns eventually

expand quad expressions

dont call on operator

changes @asserts to meaningfull exceptions

error early if NaN or Inf is in an expression

adds test

adds opt

fix test

use process_p_u0_symbolic

formatting
  • Loading branch information
ValentinKaisermayer committed Apr 13, 2023
1 parent 672d7ce commit 177cfc2
Show file tree
Hide file tree
Showing 6 changed files with 1,200 additions and 318 deletions.
5 changes: 4 additions & 1 deletion lib/OptimizationMOI/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ version = "0.1.12"

[deps]
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Ipopt_jll = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7"
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"

[compat]
Ipopt_jll = "=300.1400.400"
Expand All @@ -21,6 +23,7 @@ julia = "1"
[extras]
Juniper = "2ddba703-00a4-53a7-87a5-e8b9971dde84"
AmplNLWriter = "7c4d4715-977e-5154-bfe0-e096adeac482"
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
Ipopt_jll = "9cc047cb-c261-5740-88fc-0cf96f7bdcc7"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
Expand All @@ -29,4 +32,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Ipopt", "AmplNLWriter", "Ipopt_jll", "ModelingToolkit", "NLopt", "Juniper", "Test", "Zygote"]
test = ["HiGHS", "Ipopt", "AmplNLWriter", "Ipopt_jll", "ModelingToolkit", "NLopt", "Juniper", "Test", "Zygote"]
Loading

0 comments on commit 177cfc2

Please sign in to comment.