Skip to content
Back to skills

Scaled Lbfgs Solver

ASecurity

Run bounded scaled L-BFGS optimization with two-loop directions, memory updates, and backtracking safeguards.

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
developmentpython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill scaled_lbfgs_solver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scaled Lbfgs Solver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scaled Lbfgs Solver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-scaled-lbfgs-solver/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-scaled-lbfgs-solver)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: scaled_lbfgs_solver
description: Run bounded scaled L-BFGS optimization with two-loop directions, memory updates, and backtracking safeguards.
---

# Scaled L-BFGS Solver

Use this skill to recover a small, executable instance of the Liu-Nocedal L-BFGS mechanism. It is appropriate for smooth unconstrained objectives where gradients are available. It is not a replacement for full historical benchmark reproduction.

## Inputs
- Objective function and gradient function.
- Initial vector, memory limit, iteration count, and tolerance.
- Optional line-search constants.

## Outputs
- Final parameter vector.
- Trace containing objective values, gradient norms, step sizes, memory lengths, and scaling values.
- Mechanism evidence that two-loop recursion, bounded memory, scalar scaling, and optimizer steps ran.

## Workflow
1. Start with empty limited-memory state.
2. Compute the two-loop direction; fall back to steepest descent if needed.
3. Backtrack until Armijo decrease holds.
4. Update parameters and curvature memory.
5. Log loss, gradient norm, scale, and memory length at each iteration.

## Validation
Run `python tests/test_scaled_lbfgs_solver.py`; the deterministic quadratic test must reduce objective and gradient norm.

## Limitations
This skill is a bounded recovery harness component. Full paper-level numerical comparisons require original benchmark definitions that are not available from the resolved page.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…