SciML / SciML/LineSearch.jl

[RFC] API planning

Open
#3 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
5
Forks
7
Avg merge
1h 51m
Merged PRs (30d)
12

Description

Broad Scope

This package will serve as the source for line search algorithms in SciML packages for nonlinear and optimization solvers. Multiple dispatch should be ensured so that downstream packages can use this package almost as a blackbox.

File/Code Organisation

  1. An implementation of the Wolfe and Goldstein conditions - each as a struct. Associated dispatches for each for checking.
  2. Each linesearch method will be defined as a struct with all the method specific hyperparameters and the common ones are arguments to the associated method dispatches
  3. A kernel (function) for the method to be called in a loop, basically the update equation for the method.
  4. Termination checking, no errors should be thrown but a nothing/NaN return when failure happens.
  5. Extensions for supported AD packages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points, so start by reviewing the proposed API organization and the package's current structure. Done means an agreed design covering Wolfe and Goldstein conditions, line-search method structs and dispatches, the loop kernel, termination behavior, and AD extensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.