Comments (3)
I think somethnig close to what you have in there, with an additional argument for the distance and we are good, so
projection_on_set!(y, ::DefaultDistance, v::AbstractVector{T}, ::MOI.Zeros)
from mathoptsetdistances.jl.
This is likely not gonna be AD-friendly, which will be problematic for projection_on_set more than projection_gradient_on_set
from mathoptsetdistances.jl.
What do we want as the interface for this? Would be very helpful for a solver I'm working on right now, so I can make these changes easily
I'm already implementing these for the projections
https://github.com/tjdiamandis/GeNIOS.jl/blob/4c26b2dfdc5fa94839de7a50b4e387d7f5ae9e1c/src/cones.jl#L103
from mathoptsetdistances.jl.
Related Issues (20)
- Reduce duplications HOT 1
- Register package HOT 3
- TagBot trigger issue HOT 14
- Trait for sets with an interior
- Leverage special arrays when relevant HOT 1
- PSD gradient wrong? HOT 4
- Factor of sqrt(2) in unvec_symm and vec_symm? HOT 7
- Testing with complex-valued sets HOT 1
- ChainRules for MOI functions
- Distances and membership for exponential cone
- Switch Random to test-only dependency HOT 1
- Error in tests when changing bissection lines HOT 16
- Checking if a point is a feasible solution to a JuMP model HOT 6
- Add norm ball projections HOT 6
- frule from ChainRules HOT 1
- Reduce usage of Random in tests HOT 2
- Exponential cone projection gradient HOT 2
- Test projections against AD HOT 4
- Should all projection gradient be square matrices? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathoptsetdistances.jl.