-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change docstring style to numpydocs (#901)
* Update half the docstrings to numpy style * Fix minor change bug * Introduce numpy style * Add new api reference style * Remove older style @p references * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Update src/pyscipopt/scip.pxi * Apply suggestions from code review * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update some comments from Joao * Update src/pyscipopt/scip.pxi Co-authored-by: João Dionísio <[email protected]> * Update src/pyscipopt/scip.pxi --------- Co-authored-by: João Dionísio <[email protected]>
- Loading branch information
1 parent
a061b76
commit 729420c
Showing
11 changed files
with
4,767 additions
and
1,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,86 @@ | ||
############# | ||
API reference | ||
API Reference | ||
############# | ||
|
||
This page provides an auto-generated summary of PySCIPOpt's API. | ||
|
||
.. automodule:: pyscipopt | ||
|
||
SCIP Model | ||
========== | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
This is the main class of PySCIPOpt. Most functionality is accessible through functions | ||
of this class. All functions that require the SCIP object belong to this class. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
pyscipopt.Model | ||
api/model | ||
|
||
SCIP Constraint | ||
=============== | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
This class wraps a SCIP constraint object. It contains functions that can retrieve basic information | ||
that is entirely contained within the constraint object. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
pyscipopt.Constraint | ||
api/constraint | ||
|
||
SCIP Variable | ||
============= | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
This class wraps a SCIP variable object. It contains functions that can retrieve basic information | ||
that is entirely contained within the variable object. | ||
|
||
pyscipopt.Variable | ||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
api/variable | ||
|
||
SCIP Row | ||
======== | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
This class wraps a SCIP row object. It contains functions that can retrieve basic information | ||
that is entirely contained within the row object. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
pyscipopt.scip.Row | ||
api/row | ||
|
||
SCIP Column | ||
=========== | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
This class wraps a SCIP column object. It contains functions that can retrieve basic information | ||
that is entirely contained within the column object. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
pyscipopt.scip.Column | ||
api/column | ||
|
||
SCIP Node | ||
========= | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
This class wraps a SCIP node object. It contains functions that can retrieve basic information | ||
that is entirely contained within the node object. | ||
|
||
pyscipopt.scip.Node | ||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
SCIP Solution | ||
============= | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
|
||
pyscipopt.scip.Solution | ||
api/node | ||
|
||
SCIP Event | ||
=========== | ||
========== | ||
|
||
This class wraps a SCIP event object. It contains functions that can retrieve basic information | ||
that is entirely contained within the event object. | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary | ||
:recursive: | ||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
pyscipopt.scip.Event | ||
api/event | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
########## | ||
Column API | ||
########## | ||
|
||
.. autoclass:: pyscipopt.scip.Column | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
############## | ||
Constraint API | ||
############## | ||
|
||
.. autoclass:: pyscipopt.Constraint | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
########## | ||
Event API | ||
########## | ||
|
||
.. autoclass:: pyscipopt.scip.Event | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
######### | ||
Model API | ||
######### | ||
|
||
.. autoclass:: pyscipopt.Model | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
######## | ||
Node API | ||
######## | ||
|
||
.. autoclass:: pyscipopt.scip.Node | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
####### | ||
Row API | ||
####### | ||
|
||
.. autoclass:: pyscipopt.scip.Row | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
############ | ||
Variable API | ||
############ | ||
|
||
.. autoclass:: pyscipopt.Variable | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.