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

Order of model attributes during copy #2366

Closed
blegat opened this issue Dec 19, 2023 · 1 comment · Fixed by #2372
Closed

Order of model attributes during copy #2366

blegat opened this issue Dec 19, 2023 · 1 comment · Fixed by #2372
Milestone

Comments

@blegat
Copy link
Member

blegat commented Dec 19, 2023

As reported in #2363 (comment), the SlackBridgePrimalDualStart is ignored if it is copied before the objective is set which depends on the order of the model attributes.

@odow
Copy link
Member

odow commented Dec 19, 2023

Yeah... this is a bit messy. Perhaps we should have:

  • UserDefinedFunction
  • ObjectiveSense
  • ObjectiveFunction

all others.

The real fix would be to define a priority and then sort by that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment