Search found 20 matches

by wutuhan
1 year ago
Forum: Solvers
Topic: Can GAMS run two models at the same time?
Replies: 2
Views: 656

Can GAMS run two models at the same time?

It seems that GAMS can run at least two models at the same time. Then, do they affect each other? How?
by wutuhan
1 year ago
Forum: Syntax
Topic: What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?
Replies: 2
Views: 515

Re: What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?

Thank you very much, Fred! It's very kind of you. Then´╝îif I interrupted a GAMS run, how can I continue it?
by wutuhan
1 year ago
Forum: Syntax
Topic: What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?
Replies: 2
Views: 515

What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?

What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE when we run a model?
by wutuhan
1 year ago
Forum: API
Topic: Is there any tutorial about the connection between python and gams?
Replies: 1
Views: 1216

Is there any tutorial about the connection between python and gams?

Can someone recommend some related tutorials? Thanks a lot.
by wutuhan
1 year ago
Forum: API
Topic: Can GAMS connect to MATLAB?
Replies: 1
Views: 1178

Can GAMS connect to MATLAB?

For example, if I have an algorithm in matlab, how can I use it to solve a GAMS model?
by wutuhan
1 year ago
Forum: Solvers
Topic: Why do DICOPT and BARON come to contradictory conclusions?
Replies: 9
Views: 1715

Re: Why do DICOPT and BARON come to contradictory conclusions?

I have found the problem, but it is too strange for me. I simplified my model as much as possible, and fabricated a small example to reflect its core issue, although this example may seem strange. We might as well call this example a Pen Selecting Problem (PSP) . I hope my question can be solved wit...
by wutuhan
1 year ago
Forum: Solvers
Topic: Why do DICOPT and BARON come to contradictory conclusions?
Replies: 9
Views: 1715

Re: Why can the solvers only give local optimals of my model?

I'm so sorry, Dr. Bussieck. I'm very willing to upload the model, but it is too complex and I have to give a detailed description at the same time I send it, which will take a lot of time. Now I plan to check the model carefully again by myself. If I find the problem too strange to solve, I'll consu...
by wutuhan
1 year ago
Forum: Solvers
Topic: Why do DICOPT and BARON come to contradictory conclusions?
Replies: 9
Views: 1715

Re: Why can the solvers only give local optimals of my model?

Thank you very much, Dr. Bussieck! Your help is very useful to me, and I learned a lot from it. But unfortunately, the following issue I mentioned earlier about my model has still not been resolved. Hello, GAMS experts, I'm trying to solve my MINLP model using solvers DICOPT and BARON, but none of t...
by wutuhan
1 year ago
Forum: Solvers
Topic: Why do DICOPT and BARON come to contradictory conclusions?
Replies: 9
Views: 1715

Re: Why the solvers can only give local optimals of my model?

Thank you for your help! Maybe I can give a simple example here to explain my questions from another angle. Let's consider a small 0-1 knapsack problem, in wchich we have 3 items to determine which to take to maximize the total value. The weights of the items are a1=0.1, a2=0.2, and a3=0.5. The valu...
by wutuhan
1 year ago
Forum: Solvers
Topic: Why do DICOPT and BARON come to contradictory conclusions?
Replies: 9
Views: 1715

Why do DICOPT and BARON come to contradictory conclusions?

Hello, GAMS experts, I'm trying to solve my MINLP model using solvers DICOPT and BARON, but none of them give ideal results. The MODEL STATUS in the Solution Report using solver DICOPT is 2 Locally Optimal , and the final results of the 0-1 decision variables that the solver gives are always the sam...