View Issue Details

IDProjectCategoryView StatusLast Update
0000336HeurekaOptimizationpublic2020-08-25 10:01
ReporterPeder Assigned Touser14 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.15.4 
Summary0000336: PlanWise shuts down when trying to build optimization model that has an error
DescriptionThe optimization model in the attached PlanWise-project has an error. But when trying to solve an optimization problem PlanWise shuts down. This happens immeditely after ZIMPL is returning an error message in the output pane.
Steps To Reproduce1. Import attached project
2. Use a demo database with Landskap8
3. Run TPG for Landskap8, a few periods is enough
4. Try to build the optimization model

Result: PlanWise shuts down

An error is deliberately added into parameter tillatenCC[f,c,opt]. This parameter is used in contraint "Begransa_vilka_alternativ". It works so that for a given treatment unit that belongs to forest domain f, an alternative with control category number c must be selected when optimization case opt is run. In this case no control category with index 4 exists, so the row <2,4,"b"> 1 will never be met, and therefore for some treatment units will return empty constraints.
Changing the row to <2,3,"b"> 1 will work.
TagsNo tags attached.
ProductPlanWise

Activities

Peder

2020-04-16 16:38

administrator   ~0000324

PlanVis-projektet

Peder

2020-04-16 16:39

administrator   ~0000325

PlanVis-projektet på Dropbox:
https://www.dropbox.com/s/r6oq0ixc6d3t6l1/Bugg%20PlanVis%20kraschar%20pga%20fel%20i%20optmodell.zip?dl=0

user14

2020-08-25 10:01

  ~0000355

Heureka will no longer crash when a ZIMPL error occurs. The error in this case is not helpful for the user but would require some effort to make useful.

Issue History

Date Modified Username Field Change
2020-04-16 14:09 Peder New Issue
2020-04-16 14:15 Peder Severity major => crash
2020-04-16 16:38 Peder Note Added: 0000324
2020-04-16 16:39 Peder Note Added: 0000325
2020-08-20 13:36 user14 Assigned To => user14
2020-08-20 13:36 user14 Status new => assigned
2020-08-25 10:01 user14 Status assigned => resolved
2020-08-25 10:01 user14 Resolution open => fixed
2020-08-25 10:01 user14 Note Added: 0000355