eye (size ) 51 52 # Return the dimensions of the matrix. 49 def identity (self, size ) : -> 50 return numpy. _init_ ( ) 45 46 def name (self ) : /Users/mohameddaoudi/opt/anaconda2/lib/python2.7/site-packages/cvxpy/interface/numpy_interface/ndarray_interface.pyc in const_to_matrix (self, value, convert_scalars) 48 # Return an identity matrix. is_matrix ( ) : /Users/mohameddaoudi/opt/anaconda2/lib/python2.7/site-packages/cvxpy/expressions/expression.pyc in cast_to_const (expr) /Users/mohameddaoudi/opt/anaconda2/lib/python2.7/site-packages/cvxpy/expressions/constants/constant.pyc in _init_ (self, value) 42 self. T ,X ) ,Z1 ), "nuc" ) ) 22 23 #problem = cp.Problem(objective) /Users/mohameddaoudi/opt/anaconda2/lib/python2.7/site-packages/cvxpy/atoms/norm.pyc in norm (x, p, axis) 45 return normNuc (x ) 46 elif p = "fro" : -> 47 return pnorm (x, 2, axis ) 48 elif p = 2 : 49 if axis is None and x. If you use CVXPY in industry, we'd love to hear from you as well, on Discord or over email.ValueError Traceback (most recent call last) If you use CVXPY for academic work, we encourage you to cite our papers. Jaehyun Park, Enzo Busseti, AJ Friend, Judson Wilson, and Chris Dembia.įor more information about the team and our processes, see our governance document. Years includes Stephen Boyd, Eric Chu, Robin Verschueren, Michael Sommerauer, A non-exhaustive list of people who have shaped CVXPY over the TeamĬVXPY is a community project, built from the contributions of manyĬVXPY is developed and maintained by StevenĪnd Bartolomeo Stellato, with many others contributing Please get in touch with us first to make sure that your priorities align withĬontributions should be submitted as pull requests.Ī member of the CVXPY development team will review the pull request and guideīefore starting work on your contribution, please read the contributing guide. If you'd like to add a new example to our library, or implement a new feature, import cvxpy as cp import numpy as np Problem data. I tried to solve a convex problem with cvxpy as below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |