View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000336 | Heureka | Optimization | public | 2020-04-16 14:09 | 2020-08-25 10:01 |
Reporter | Peder | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2.15.4 | ||||
Summary | 0000336: PlanWise shuts down when trying to build optimization model that has an error | ||||
Description | The 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 Reproduce | 1. 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. | ||||
Tags | No tags attached. | ||||
Product | PlanWise | ||||
|
PlanVis-projektet |
|
PlanVis-projektet på Dropbox: https://www.dropbox.com/s/r6oq0ixc6d3t6l1/Bugg%20PlanVis%20kraschar%20pga%20fel%20i%20optmodell.zip?dl=0 |
|
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. |
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 |
|
Assigned To | => user14 |
2020-08-20 13:36 |
|
Status | new => assigned |
2020-08-25 10:01 |
|
Status | assigned => resolved |
2020-08-25 10:01 |
|
Resolution | open => fixed |
2020-08-25 10:01 |
|
Note Added: 0000355 |