OptimKit.jl icon indicating copy to clipboard operation
OptimKit.jl copied to clipboard

Common Interface for iterative algorithms

Open kellertuer opened this issue 11 months ago • 2 comments

Hi @Jutho, hi @lkdvos,

I am coming back to our very nice discussion in Lausanne in November about a generic interface for algorithms. We could maybe discuss a few ideas over on a new repository I named

https://github.com/JuliaManifolds/IterativeAlgorithmsInterface.jl

?

My main hopes would be

  • reduce duplicate implementation of the usual “iterative methods” overhead,
  • easier to combine algorimths as sub-tasks
  • ...

We could also try to reach out to further iterative algorithms people to maybe have a broader “basis” of people when discussing what such an interface might need – in the end maybe even in a similar generic Idea as the DifferentiationInterface.jl – though reaching that large of an audience is probably hard to achieve.

If you have ideas how to involve others that might be interested in such an interface – feel free to add them here or in issues over on the other repo. We can also move the repo somewhere else nice if that is something useful to have – and of course anyone who wants can become developer on the repository above – in the beginning we do not have to fork too much ;)

kellertuer avatar Mar 04 '25 09:03 kellertuer

Hi Ronny,

Thanks a lot for setting this up and launching a start, I'm definitely enthusiastic about this effort, and it did slip my mind a bit. I don't really care that much where the repository is hosted, for now it seems fine where it is. I would definitely like to become a contributor there.

Considering the ability to broaden the basis of people, I agree that it is nice to have some discussions with larger groups of people as well, but it is also a bit easier to move things along when the number of parties is a bit smaller. As always, finding the balance is the hard part 😉.

Considering the statement in the readme, I think github has some "discussions" pages as well, so maybe I can leave some of my thoughts on that there?

lkdvos avatar Mar 04 '25 12:03 lkdvos

Well-spotted with the discussions. I have them activated on most of my Repos by default so I did that here as well.

I also added you as a contributor.

And no worries, I kept that idea in mind but was (and still am) a bit busy with another project in JuliaManifolds – though less structural/interface design by now. So good to think about other new interfaces :)

kellertuer avatar Mar 04 '25 12:03 kellertuer