BYU-PRISM / GEKKO

GEKKO Python for Machine Learning and Dynamic Optimization
https://machinelearning.byu.edu
Other
594 stars 104 forks source link

Limit on Dynamic Variables and Parameters #142

Open APMonitor opened 2 years ago

APMonitor commented 2 years ago

Issue reported in this StackOverflow post: https://stackoverflow.com/questions/71250575/gekko-fixed-parameter-and-fixed-variable-value-changes-after-solving

There is a bug that prevents initialization of parameter or variable values for dynamic modes (m.Var<=1300 and m.Param<=684). The issue is related to way the data file gk0_model.csv is written as a column-oriented file. The issue is in the APM executable that does not properly account for very long column strings. The bug exists for all dynamic IMODES 4-9.