Skip to content

penalty.weight=1 if not declared for multinode_objectives #692

Description

@EveCharbie

If no weight is declared in a multinode_objectve, it transforms it into a constraint (l.493 de multinode_penaty).
This was historically OK, but this behavior is not expected by the user anymore, it should be changed.

if mnc.weight:
      mnc.base = ObjectiveFunction.MayerFunction

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions