Skip to content

Add gurobi_direct implementation to contrib.solver #3225

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

Merged
merged 24 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c097f03
Initial draft of a new numpy-based Gurobi Direct interface
jsiirola Mar 18, 2024
f10ef56
Adding missing import
jsiirola Mar 18, 2024
0465c89
bugfix: correct option name
jsiirola Mar 18, 2024
812a1b7
Remove giant status if tree
jsiirola Apr 1, 2024
711fafe
NFC: apply black
jsiirola Apr 1, 2024
a182c0f
Merge branch 'main' into gurobi_direct_rework
jsiirola Apr 4, 2024
347b595
standard_form: return objective list, offsets
jsiirola Apr 4, 2024
89556c3
standard_form: allow empty objectives, constraints
jsiirola Apr 4, 2024
e60c0de
gurobi_direct: support (partial) loading duals, reduced costs
jsiirola Apr 4, 2024
dbefc5c
gurobi_direct: do not store ephemeral config on instance; rename gprob
jsiirola Apr 4, 2024
e11fd66
gurobi_direct: make var processing more efficient
jsiirola Apr 4, 2024
99a7efc
gurobi_direct: support models with no objectives
jsiirola Apr 4, 2024
7e4938f
NFC: wrap long line
jsiirola Apr 4, 2024
93590c6
gurobi_direct: add error checking for MO problems
jsiirola Apr 4, 2024
fa7d4da
Merge branch 'objective-sense' into gurobi_direct_rework
jsiirola Apr 4, 2024
6fa6196
standard_form: add option to control the final optimization sense
jsiirola Apr 4, 2024
d546a24
Add gurobi_direcct to the solver test suite
jsiirola Apr 4, 2024
30490d2
Correct import of ObjectiveSense enum
jsiirola Apr 4, 2024
b57adf1
Add gurobi_direct to the docs
jsiirola Apr 4, 2024
9790e08
NFC: fix typo
jsiirola Apr 4, 2024
dcbd737
Merge branch 'main' into gurobi_direct_rework
mrmundt Apr 24, 2024
f396e50
Merge branch 'main' into gurobi_direct_rework
jsiirola Apr 26, 2024
51d38f6
Merge branch 'main' into gurobi_direct_rework
jsiirola May 7, 2024
fc58199
Clarify comment
jsiirola May 7, 2024
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
5 changes: 4 additions & 1 deletion doc/OnlineDocs/developer_reference/solvers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ with existing interfaces).
* - Ipopt
- ``ipopt``
- ``ipopt_v2``
* - Gurobi
* - Gurobi (persistent)
- ``gurobi``
- ``gurobi_v2``
* - Gurobi (direct)
- ``gurobi_direct``
- ``gurobi_direct_v2``

Using the new interfaces through the legacy interface
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Loading