Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## kellertuer/fix-313-a-jump-tutorial #491 +/- ##
======================================================================
- Coverage 99.67% 99.65% -0.02%
======================================================================
Files 86 86
Lines 9460 9384 -76
======================================================================
- Hits 9429 9352 -77
- Misses 31 32 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I do not understand the question, sorry. Maybe call the cost function? edit: Or doe you mean which functions are implemented specifically for this? All of them. Exp, log, (replace +-) retractions (approximate exp/log).... |
| # TODO: Understand parameters here and document them | ||
| function JuMP.add_variable(model::JuMP.AbstractModel, v::ManifoldVariable, name::String="") | ||
| return nothing | ||
| function JuMP.add_variable(model::JuMP.AbstractModel, v::ManifoldVariable, ::String="") |
There was a problem hiding this comment.
Can we maybe have a it of documentation here? The official docs mainly state “please ask a developer”. If that code is here in Manopt I am a developer and by now I tried for about half a year maybe to understand something – and I simply do not.
There was a problem hiding this comment.
...your docs do not help https://jump.dev/JuMP.jl/stable/api/JuMP/#JuMP.add_variable – they state I should ask you, and neither are my code archeology skill that good nor have all my tries of that not lead to me understanding how this is supposed to work, nor what for example the string is.
|
This concept also can not work, since the point type is not “available” in The existing one is an extension
But for specific manifold we need an extension to
The Other PR defines the Manifolds-type-wrapper in the first extension and tries a proof of concept in the second. |
|
Yes I mean what would be a typical objective I can use in the tests.
The solver still receives them unwrapped, we'll have to pass the point type as well. The only difference here is that they are wrapped at the JuMP level so the user will be able to use the operators you have define for |
|
Hm, I still do not follow. We do not do much magic with the cost (I think you do). So I am not sure what “the operators” refers to some “build” of an objective function. We do not “build” anything here. The user really only implements a I am still not sure what need to be done here then. Nor do I understand the approach to an extend that I can adapt it for the PR. But I understand that this is never meant to be merged but just a proof of concept (that I would have added as a comment in the other PR). |
|
I just meant : if you give le an example of cost function, just the way you write it with Manopt, I can turn this proof of concept into a working state :) |
gradients the same |
|
Since we now can both push to #454, we could close this and add it directly there? |
|
Yes, I just merged it into it :) |
This gives
What are the operations we could do on
xthat would result in a scalar objective function ?