Skip to content

Commit e3e5671

Browse files
committed
Some documentation work
1 parent adee440 commit e3e5671

File tree

5 files changed

+60
-13
lines changed

5 files changed

+60
-13
lines changed

docs/api_reference/dsp.problem.rst

+10-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@ Problem
22
====================
33

44
SaddlePointProblem
5-
----
5+
------------------
66

77
.. autoclass:: dsp.problem.SaddlePointProblem
8-
:members: value, solve
8+
:members: value, solve, status, is_dsp
9+
:undoc-members:
10+
:show-inheritance:
11+
12+
MinimizeMaximize
13+
------------------
14+
15+
.. autoclass:: dsp.problem.MinimizeMaximize
16+
:members: value, is_dsp
917
:undoc-members:
1018
:show-inheritance:

docs/api_reference/dsp.rst

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ Here goes the DSP API Documentation
66
:maxdepth: 1
77

88
Problems <dsp.problem>
9+
Saddle Atoms <dsp.saddle_atoms>
10+
Saddle Extremum <dsp.saddle_extremum>
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Saddle Atoms
2+
====================
3+
4+
SaddleAtom
5+
------------------
6+
7+
.. autoclass:: dsp.saddle_atoms.SaddleAtom
8+
:members: convex_variables, concave_variables, is_dsp
9+
:undoc-members:
10+
:show-inheritance:
11+
12+
13+
saddle_inner
14+
------------------
15+
16+
.. autoclass:: dsp.saddle_atoms.saddle_inner
17+
18+
inner
19+
------------------
20+
21+
.. autoclass:: dsp.saddle_atoms.inner
22+
23+
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Saddle Extremum functions
2+
=========================
3+
4+
SaddleExtremum
5+
------------------
6+
7+
.. autoclass:: dsp.saddle_extremum.SaddleExtremum
8+
:members: convex_variables, concave_variables, is_dsp
9+
:undoc-members:
10+
:show-inheritance:
11+

docs/index.rst

+14-11
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,23 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
Welcome to DSP
6+
Disciplined Saddle Programming
77
===============================
88

9-
.. toctree::
10-
:hidden:
11-
12-
API Documentation <api_reference/dsp>
9+
.. meta::
10+
:description: A CVXPY extension for saddle problems
11+
:keywords: convex optimization, python, cvxpy, saddle programming, saddle-point, modeling-language
1312

13+
Disciplined Saddle Programming (DSP) is a CVXPY extension for saddle problems.
14+
DSP allows solving convex-concave saddle point problems, and more generally convex optimization problems we refer to
15+
as saddle problems, which include the partial supremum or infimum of convex-concave saddle functions. Saddle functions
16+
are functions that are (jointly) convex in a subset of their arguments, and (jointly) concave in the remaining
17+
arguments. A detailed description of the underlying method is given in our `accompanying paper <https://arxiv.org/abs/2301.13427>`_.
1418

19+
This page contains the API documentation for DSP. We limit the public API to the functions and classes listed contained
20+
in this reference. The remainder of the code is considered private and may change without notice.
1521

16-
Indices and tables
17-
==================
18-
19-
* :ref:`genindex`
20-
* :ref:`modindex`
21-
* :ref:`search`
22+
.. toctree::
23+
:hidden:
2224

25+
API Documentation <api_reference/dsp>

0 commit comments

Comments
 (0)