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

Quadratic absolute object function can't be solved by the solver #1103

Closed
2 of 3 tasks
Jingru923 opened this issue Feb 9, 2024 · 2 comments
Closed
2 of 3 tasks

Quadratic absolute object function can't be solved by the solver #1103

Jingru923 opened this issue Feb 9, 2024 · 2 comments
Assignees
Labels
allocation Allocation layer bug Indicates an unexpected problem or unintended behavior with RTC-Tools team To be discussed with the RTC-Tools team

Comments

@Jingru923
Copy link
Contributor

Jingru923 commented Feb 9, 2024

What
After using equal constraint for flow conservation (PR: #1083), a bug appeared in allocation_test.jl. When using quadratic absolute as object function, minimal subnetwork as test model, the solver give error of

Termination status : OTHER_ERROR
  Message from the solver:
  "There was an error calling optimize!"

The reason of the error is unknown. When I print out the optimization problem, I notice the redundant constraints. If I simplify the constraints, I can solve it with help of some online tools. This means that this optimization problem is feasible, but somehow the solver HiGHS can't deal with it.

How

Some possible ways to solve this issue and will be :

  • Try problem with other solvers
  • Try problem with HiGHS but redundant constraints removed
  • Contact developer of HiGHS with problem (make issue)
@Jingru923 Jingru923 added allocation Allocation layer bug Indicates an unexpected problem or unintended behavior with RTC-Tools team To be discussed with the RTC-Tools team labels Feb 9, 2024
@Jingru923 Jingru923 added this to Ribasim Feb 9, 2024
@github-project-automation github-project-automation bot moved this to To do in Ribasim Feb 9, 2024
@visr
Copy link
Member

visr commented Feb 9, 2024

Here is a relevant JuMP issue about redundant constraints: jump-dev/JuMP.jl#1799

@Jingru923 Jingru923 self-assigned this Feb 13, 2024
@Jingru923 Jingru923 moved this from To do to 🏗 In progress in Ribasim Feb 13, 2024
@Jingru923 Jingru923 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Ribasim Feb 27, 2024
@Jingru923
Copy link
Contributor Author

The issue #1191 make this one no longer applicable. So this issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
allocation Allocation layer bug Indicates an unexpected problem or unintended behavior with RTC-Tools team To be discussed with the RTC-Tools team
Projects
Archived in project
2 participants