Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
add generic_sdp_backend to html ref manual
Browse files Browse the repository at this point in the history
  • Loading branch information
mforets committed Jul 8, 2017
1 parent ab6d617 commit 01ea990
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/doc/en/reference/numerical/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Semidefinite Optimization (SDP) Solver backends
.. toctree::
:maxdepth: 1

sage/numerical/backends/generic_sdp_backend
sage/numerical/backends/cvxopt_sdp_backend

For more details on CVXOPT, see `CVXOPT documentation <http://cvxopt.org/documentation/index.html>`_.
Expand Down
7 changes: 3 additions & 4 deletions src/sage/numerical/backends/generic_sdp_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ cdef class GenericSDPBackend:
sage: [p.objective_coefficient(x) for x in range(5)] # optional - Nonexistent_LP_solver
[1.0, 1.0, 2.0, 1.0, 3.0]
Constants in the objective function are respected::
Constants in the objective function are respected.
"""
raise NotImplementedError()

Expand Down Expand Up @@ -674,7 +673,7 @@ def default_sdp_solver(solver = None):

cpdef GenericSDPBackend get_solver(solver = None):
"""
Return a solver according to the given preferences
Return a solver according to the given preferences.
INPUT:
Expand All @@ -688,7 +687,7 @@ cpdef GenericSDPBackend get_solver(solver = None):
.. SEEALSO::
- :func:`default_sdp_solver` -- Returns/Sets the default SDP solver.
- :func:`default_sdp_solver` -- Returns/Sets the default SDP solver.
EXAMPLES::
Expand Down

0 comments on commit 01ea990

Please sign in to comment.