- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
adding example from pricing problem (from max) #73
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
Conversation
| Benchmarks that have improved: 
 Benchmarks that have stayed the same:  | 
| rows, cols, vals = grad_dict[var] | ||
| grad = sp.coo_matrix((vals, (rows, cols)), shape=(1, size)) | ||
| vals = grad.T | ||
| if sp.issparse(vals): | ||
| vals = vals.toarray().flatten(order='F') | ||
| self.grad_obj[grad_offset:grad_offset+size] = vals | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we keep these changes so that we don't rely on cvxpy's grad functionality?
| closing this as we were able to "solve" max's problem. (although he found a faster implementation with a convex majorization strategy?). | 
Description
Please include a short summary of the change.
IPOPT converges to the same optimal solution as max's CCP method, but quite a bit faster.
Issue link (if applicable):
Type of change
Contribution checklist