Skip to content

Conversation

@klamike
Copy link
Collaborator

@klamike klamike commented Dec 10, 2025

This is blocked until the next MadNLP release, and may need to be updated depending on if it is 0.9 or 0.8.13. Also, needs MadNLP/MadNLP.jl#529

fixes #75

Copilot AI review requested due to automatic review settings December 10, 2025 17:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes a workaround for objective value handling in maximization problems and updates the MadNLP dependency to version 0.9, which is expected to handle this internally.

  • Removes objective sign flip logic from update_solution! function
  • Updates MadNLP version constraint from 0.8.12 to 0.9

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
src/utils.jl Removes workaround code that manually flipped objective values for maximization problems
Project.toml Updates MadNLP version constraint to 0.9 to support the native objective handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@klamike klamike changed the title Undo objective flip Update for latest MadIPM Dec 15, 2025
@klamike klamike changed the title Update for latest MadIPM Updates for latest MadNLP Dec 15, 2025
@frapac
Copy link
Member

frapac commented Dec 16, 2025

Thank you Michael!

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.

Undo objective flip

2 participants