Skip to content

[BUG] Testing fails with linopy v0.5.6 #297

@FBumann

Description

@FBumann

Version Checks (indicate both or one)

  • I have confirmed this bug exists on the latest release of FlixOpt.

  • I have confirmed this bug exists on the current main branch of FlixOpt.

Issue Description

The new linopy version adds a type check in assert_linequal(), which raises an assertion if the compared objects are no linopy.LinExpression. As Constraint.rhs was compared this way, this doesn't work anymore

Reproducible Example

-

Expected Behavior

Solver Used

HiGHS (default)

Installed Versions

Details ``` Replace this with your environment info ```

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions