matlab-optim-derivatives

Community

Audit MATLAB optimization derivatives

Authorirudik
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps debug MATLAB optimization functions by validating analytic derivatives against numerical approximations, ensuring accuracy and correct integration with solvers like KNITRO.

Core Features & Use Cases

  • Derivative Validation: Compares computed gradients, Hessians, and Jacobians against finite-difference approximations.
  • Solver Integration Check: Verifies that optimizer callbacks are correctly wired and expect the right data dimensions and order.
  • Use Case: When a MATLAB optimization routine fails to converge or produces unexpected results, this Skill can pinpoint issues in the derivative calculations or their connection to the solver.

Quick Start

Use the matlab-optim-derivatives skill to audit the objective function gradient and Hessian for the optimization problem defined in 'my_optimization_script.m'.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: matlab-optim-derivatives
Download link: https://github.com/irudik/repo-template/archive/main.zip#matlab-optim-derivatives

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.