Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Updates for OptimizationBase v2 #789

Merged
merged 31 commits into from
Sep 17, 2024
Merged

[WIP] Updates for OptimizationBase v2 #789

merged 31 commits into from
Sep 17, 2024

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.

end
return
end

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 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.

2 participants