Skip to content

Error in problem with no solution #1

@amanolar94

Description

@amanolar94

Hi,
I have this problem below:
objective = ('maximize', '1000x_1 + 700x_2')
constraints= ['100x_1 + 50x_2 <= 2425', '20x_2 <= 510','1x_2 >= 26']

Given the second and third constraint there shouldn't be a possible solution but the code gives me this one:
{'x2': 25.0, 'x1': 11.75}

Am i making a mistake or could it be a bug?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions