Skip to content

Remove objective constant from objective function assignment  #503

@FabianHofmann

Description

@FabianHofmann

We are currently adding the cost of pre-installed capacity to the objective function. This leads to large ranges for variables and the objective in the LP. I'd suggest to remove the assignment of the constant to the objective function and leave the objectiv_constant as a network property that comprises these cost. For back-wards compatibility we can still add this constant to n.objective after solving but in the long-term I'd suggest to remove that as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions