-
Notifications
You must be signed in to change notification settings - Fork 97
direct_minimization with Manopt.jl as a weak dependency
#1105
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
Open
kellertuer
wants to merge
48
commits into
JuliaMolSim:master
Choose a base branch
from
kellertuer:kellertuer/direct-min-manopt
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 43 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f5f32ed
Initial sketch
kellertuer 666013c
Small improvements on the stopping criterion.
kellertuer ce229da
fix a typo.
kellertuer 0e6842c
Sketch remaining roadmap.
kellertuer 942db47
Clarify a few comments already.
kellertuer 9e1b257
Resolve a few things in the extension
kellertuer a51957b
Extend the enegry_hamiltonian doc string.
kellertuer 3667599
Improving costgrad a bit.
kellertuer 46011d3
Further work before first PR.
kellertuer 24c88e9
clear a few comments.
kellertuer 962a7e8
add a bit of docs.
kellertuer b74efad
fix a typo.
kellertuer e5fec8a
debug info.
kellertuer 249f1d0
remove an nonexistent field.
kellertuer 05a2c4f
Merge branch 'master' into kellertuer/direct-min-manopt
kellertuer 0604bc9
Also include RAT for speed reasons. First extension version that comp…
kellertuer bfb3643
First version that runs.
kellertuer eb74a21
Fix precon.
kellertuer 54d360a
fix a few more default, still not properly working.
kellertuer 2ecc48b
Fix a few more things.
kellertuer 34f0fc0
Merge branch 'master' into kellertuer/direct-min-manopt
kellertuer 2bec04b
Merge branch 'master' into kellertuer/direct-min-manopt
kellertuer 84a9b84
improve naming and docs.
kellertuer aa52b9b
Fix one place in the docs.
kellertuer 444a2c3
rename a variable.
kellertuer 849184f
Split `direct_minimization` into two variants.
kellertuer 9e7b667
Unify statements of return
kellertuer f5787b8
avoid the hack with the global setting by exporting the constructor.
kellertuer 600742a
code formatting to avoid return.
kellertuer fde86c4
Avoid necessity to ] dev DFTK in the docs, add DocumenterInterLinks a…
kellertuer 1cc65a1
Rename the costgrad functor to InsulatorEnergy.
kellertuer 05553db
Fix a typo so that all but one wannier example (probably an unrelated…
kellertuer 81cba58
Fix a few small bugs.
kellertuer 532b297
Fix tests.
kellertuer 60c468d
Define records and debugs, introduce separate cost/grad
kellertuer 5a7dbd8
Remove a few finished TODOs.
kellertuer 2ec2788
Add a few more things to the named tuple return thingy.
kellertuer cb20c31
Finish the other 3 easy things we can provide and document that prope…
kellertuer bc12327
Merge branch 'master' into kellertuer/direct-min-manopt
kellertuer 67dc92f
Merge branch 'master' into kellertuer/direct-min-manopt
kellertuer de08702
fix project.toml.
kellertuer 6634ce0
Fix an example to also run standalone again.
kellertuer 1eca7c0
Merge branch 'master' into kellertuer/direct-min-manopt
mfherbst 1383c8b
fix a typo and add a note.
kellertuer 5baf0d8
Merge branch 'kellertuer/direct-min-manopt' of github.com:kellertuer/…
kellertuer 045a4fd
to 92 characters.
kellertuer 6cb7fb5
add converged result. Bump Manopt dependency to yesterdays 0.5.23, wh…
kellertuer e4f044a
Prepare to document the extension.
kellertuer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It's a little weird that one needs to
usingall there three packages explicitly. Can we somehow avoid that ?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.
Not really.
ArrayPartition)so all 3 are needed.
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.
I see, but that's quite inconvenient for a potential user. Could we avoid that by making a metapackage that depends on all three of them (like DFTKManopt.jl) ?
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.
Uff. I would have no clue how to do that?
I also do not agree that that is inconvenient, it is what the extensions now bring – more modular packages without direct dependencies:
One can use Manopt with an own manifold (nand then not load Manifolds)
One can use Manifolds with an own implementation for the product structure (and then not load RecursiveArrayTools)
What would that package look like? Something with the Reexport all package? I am not sure what to do here.