Search found 2 matches

by hong123
3 years ago
Forum: Modeling
Topic: how to model index tied to variaible
Replies: 0
Views: 1500

how to model index tied to variaible

hello, I do an optimization to divide a network into two parts. I want to make sure that in the same partition, each node at least has one connection with the node in the same partition. My code is as below, Could anyone one help? Thanks a lot. set k/k1*k2/ n/p1*p5/; alias /n,j/; Set conex 'Bus conn...
by hong123
3 years ago
Forum: Modeling
Topic: MINLP propram
Replies: 0
Views: 1604

MINLP propram

Hello, I am a new to MINLP and try to solve a simple problem. However, it turns out not that simple. :shock: Below is my code. It doesnot work. Could anyone let me know I should change the formulation so I can make it work? (It will very much appreciated if you could provide an example) Thank you ve...