Skip to content
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

ManifoldSubset and ChartFunction objects corresponding to a CVXPY expressions #31981

Open
mkoeppe opened this issue Jun 13, 2021 · 29 comments
Open

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Jun 13, 2021

CVXPY is a system for disciplined convex programming in which finite dimensional optimization problems are expressed using expression trees.

We monkey-patch caching _sage_ methods into the CVXPY classes, along the same lines as it is done for SymPy in sage.interfaces.sympy.

Depends on #31962
Depends on #31688
Depends on #30172
Depends on #31982

CC: @dimpase @yuan-zhou @egourgoulhon

Component: manifolds

Author: Matthias Koeppe, ...

Branch/Commit: u/mkoeppe/manifoldsubset_corresponding_to_a_cvxpy_leaf__variable_parameter_ @ 84a5868

Issue created by migration from https://trac.sagemath.org/ticket/31981

@mkoeppe mkoeppe added this to the sage-9.4 milestone Jun 13, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Jun 13, 2021

Changed dependencies from #31962 to #31962, #31688

@mkoeppe
Copy link
Member Author

mkoeppe commented Jun 13, 2021

Changed dependencies from #31962, #31688 to #31962, #31688, #30172

@mkoeppe
Copy link
Member Author

mkoeppe commented Jun 13, 2021

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Commit: 84cffde

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

84cffde_cvxpy_Variable_sage_: Actually return chart functions

@mkoeppe
Copy link
Member Author

mkoeppe commented Jun 13, 2021

Author: Matthias Koeppe

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

d4e19aa_cvxpy_MulExpression_sage_: New

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Changed commit from 84cffde to d4e19aa

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

3889cf5_cvxpy_AddExpression_sage_: New

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Changed commit from d4e19aa to 3889cf5

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Changed commit from 3889cf5 to 53c849a

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 13, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

53c849a_cvxpy_log1p_sage_: New

@mkoeppe
Copy link
Member Author

mkoeppe commented Jun 14, 2021

Changed dependencies from #31962, #31688, #30172 to #31962, #31688, #30172, #31982

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Changed commit from 53c849a to 802a1ff

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

e8d3427clarify comment and doctest for multiple inheritance
b873bcbsome doc
27e3889Merge #31721
3c36bd2Eliminate use of MultiCoordFunction._functions
49f63a4Vector_symbolic_dense: Fix pickling
dcdd412src/sage/manifolds/continuous_map.py: Update doctest output
fb31802src/sage/manifolds/chart.py: Update doctest output
c06130bMerge #31982
271943d_cvxpy_log_det_sage_: New
802a1ffsrc/sage/interfaces/cvxpy.py: Update doctest output

@mkoeppe mkoeppe changed the title ManifoldSubset corresponding to a CVXPY Leaf (Variable/Parameter) ManifoldSubset and ChartFunction objects corresponding to a CVXPY expressions Jun 15, 2021
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Changed commit from 802a1ff to 6e6b8cd

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

6e6b8cd_cvxpy_Constant_sage_: New

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

760b762_cvxpy_power_sage_: New; fix up 'pos' domain

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Changed commit from 6e6b8cd to 760b762

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

7323b10ConvexSet_base._test_contains: Only test extension to AA for exact base rings
e0d2eebMerge #31959
e6c3ed5RelativeInterior.__hash__: New
4c7d57fsrc/sage/geometry/relative_interior.py: Fix doctest output
9ea0ceaManifoldSubsetPullback: Do not trip over relative interiors of cones
a60e225Merge #31688

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Changed commit from 760b762 to a60e225

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Changed commit from a60e225 to bb624fb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 15, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

bb624fb_cvxpy_{NegExpression,quad_over_lin,NonPos,NonNeg,Inequality}_sage_: New

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 18, 2021

Changed commit from bb624fb to 84a5868

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 18, 2021

Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:

2514586Merge #31644
3ca139asrc/doc/en/reference/manifolds: Add pullback
1d430eesrc/sage/manifolds/continuous_map.py, src/sage/manifolds/subsets: Use qualified class name in docstrings
1266de9src/sage/geometry/convex_set.py: Fix docstring markup
df64125ScalarField.preimage: Make pullback an alias; expand documentation
3877c5fManifoldSubsetPullback.is_closed: Remove unfinished NNC_Polyhedron example
0c549f0Chart.pullback, preimage: New
7bb720eManifoldSubsetPullback.__contains__: Handle the case of charts, which return tuples of coordinates, not vectors
60ea044ContinuousMap.preimage, ScalarField.preimage: Document that output can also be a manifold
84a5868Merge #31688

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 14, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Mar 5, 2022
@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 12, 2022

Changed author from Matthias Koeppe to Matthias Koeppe, Andrey Belgorodski

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 12, 2022

Changed author from Matthias Koeppe, Andrey Belgorodski to Matthias Koeppe, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant