Skip to content

Reduce the solving package dependency count #121

Open

Description

@alecloudenback

Currently import 3 similar solving packages (LsqFit, Roots, Optim) for expediency. Let's reduce the dependency count. This comment suggests the leading packages for a variety of use-cases:
https://discourse.julialang.org/t/julia-for-education-package-selection/82852/2

Activity

  1. alecloudenback commented on Oct 11, 2026

    @alecloudenback
    MemberAuthor

    Review update against FinanceModels v7.0.0 (6cb71714), 2026-10-11.

    The original dependency list is outdated. LsqFit is no longer a dependency. Current fitting uses Optimization with OptimizationOptimJL, while Roots handles scalar root-finding; these are distinct roles rather than three interchangeable least-squares solvers. See current dependencies.

    There is still a medium-priority question about loading fitting dependencies eagerly for valuation-only use. Reframe around that cost and consolidate with #177/#153/#221. Reducing package count alone is not evidence of better startup or numerical behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions