最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How to use the cold-start options with GEKKO correctly? - Stack Overflow

programmeradmin3浏览0评论

I was testing some options with Gekko for an optimization with MINLP , but I still couldn't figure out how the option COLDSTART = 2 work. Using the variable values from a prior solution as initial values to a new solve still somehow shows that infeasibilities exist:

Could not perform presolve. Failed at block 0 with infeasible variables and equations reported in presolve.txt

Do i need to manually put extra equations so that the number of variables is equal to the number of equations? And why does sometimes using the prior solution as initial values to a new solve lead to worse solution with COLDSTART = 1? Shouldn't the first integer solution found be at least as good as the initial values (or solution from the previous solve)

发布评论

评论列表(0)

  1. 暂无评论