Skip to content

Conversation

@Vaibhavdixit02
Copy link
Member

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

function MOI.hessian_lagrangian_structure(evaluator::MOIOptimizationNLPEvaluator)
lagh = evaluator.f.lag_h !== nothing
if evaluator.f.lag_hess_prototype !== nothing
rows, cols, _ = findnz(evaluator.f.lag_hess_prototype)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #439 in combination with OptimizationBase v2

@Vaibhavdixit02 Vaibhavdixit02 changed the title [WIP] Update tests for OptimizationBase v2 [WIP] Updates for OptimizationBase v2 Aug 23, 2024
Vaibhavdixit02 added a commit to SciML/OptimizationBase.jl that referenced this pull request Sep 10, 2024
@Vaibhavdixit02 Vaibhavdixit02 force-pushed the optbasev2 branch 2 times, most recently from ba6ff6b to d4a6d5b Compare September 13, 2024 14:18
@Vaibhavdixit02 Vaibhavdixit02 force-pushed the optbasev2 branch 6 times, most recently from 42896b6 to 2a65678 Compare September 15, 2024 12:28
@Vaibhavdixit02 Vaibhavdixit02 merged commit 4c989c1 into master Sep 17, 2024
22 of 25 checks passed
@Vaibhavdixit02 Vaibhavdixit02 deleted the optbasev2 branch September 17, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants