picos¶
A Python Interface to Conic Optimization Solvers.
The picos
namespace gives you quick access to the most important classes
and functions for optimizing with PICOS, so that import picos
is often
sufficient for implementing your model.
Exceptions
Classes
Functions
- picos.ascii()[source]¶
See
picos.glyphs.ascii
.
- picos.ball()¶
- picos.default_charset()¶
See
picos.glyphs.unicode
.
- picos.detrootn()¶
- picos.expcone()¶
- picos.geomean()¶
- picos.kldiv()¶
- picos.kullback_leibler()¶
- picos.latin1()[source]¶
See
picos.glyphs.latin1
.
- picos.logsumexp()¶
- picos.lse()¶
- picos.norm()¶
- picos.rsoc()¶
- picos.soc()¶
- picos.sumexp()¶
- picos.unicode()[source]¶
See
picos.glyphs.unicode
.
Objects
- picos.I[source]¶
Create an identity matrix.
- Example
>>> from picos import I >>> print(I(3)) [ 1.00e+00 0 0 ] [ 0 1.00e+00 0 ] [ 0 0 1.00e+00]
- Default value
<functools._lru_cache_wrapper object at 0x7efe6bedc9e0>
- picos.J[source]¶
Create a matrix of all ones.
- Example
>>> from picos import J >>> print(J(2, 3)) [ 1.00e+00 1.00e+00 1.00e+00] [ 1.00e+00 1.00e+00 1.00e+00]
- Default value
<functools._lru_cache_wrapper object at 0x7efe6bedc930>
- picos.O[source]¶
Create a zero matrix.
- Example
>>> from picos import O >>> print(O(2, 3)) [0 0 0] [0 0 0]
- Default value
<functools._lru_cache_wrapper object at 0x7efe78248ca0>