Search found 17 matches

by Bingo LI
6 months ago
Forum: Modeling
Topic: Infeasibility row 'eqcut1(2.24)': 0 = -1
Replies: 0
Views: 792

Infeasibility row 'eqcut1(2.24)': 0 = -1

Hello all, I am trying to solve a model using C&CG, and there is a problem about the solution: Infeasibility row 'eqcut1(2.24)': 0 = -1. The solution summary is as follows. MODEL master OBJECTIVE TC TYPE MIP DIRECTION MINIMIZE SOLVER CPLEX FROM LINE 314 **** SOLVER STATUS 1 NORMAL COMPLETION **** MO...
by Bingo LI
6 months ago
Forum: Modeling
Topic: Dual infeasible due to empty column
Replies: 0
Views: 752

Dual infeasible due to empty column

Hello all, I am trying to solve a model using GAMS, and I am getting a problem: Dual infeasible due to empty column 'eta0'. What can I do to solve this problem. The log of solving the problem is as follows, and the code can be attached if needed. Many thanks. LI Reading data... Starting Cplex... Dua...
by Bingo LI
8 months ago
Forum: Modeling
Topic: assign parameters in sequence
Replies: 4
Views: 511

Re: assign parameters in sequence

Hi Renger,
It solves my problem perfectly.
Thank you.
Li
by Bingo LI
8 months ago
Forum: Modeling
Topic: assign parameters in sequence
Replies: 4
Views: 511

Re: assign parameters in sequence

Thanks for your answer.
However, a vector (P_1(ii)) is needed as there are other variables in my programm.
The purpose of this programm is that I want to eliminate P_1(1) when ii=2.
Could it be done?
by Bingo LI
8 months ago
Forum: Modeling
Topic: assign parameters in sequence
Replies: 4
Views: 511

assign parameters in sequence

Hello all, I'm working on assigning a parameter in sequence. In my purpose, the sequence of the parameters is: i=1 P_1= 13 i=2 P_1= 24 i=3 P_1= 15. However. the result in my programm is i=1 P_1= 13 i=2 P_1=1 13 2 24 i=3 P_1=1 13 2 24 3 15. The code is attached. Could someone help me with this proble...
by Bingo LI
10 months ago
Forum: Archive Google Group
Topic: unable to understand nature of obtained results
Replies: 2
Views: 939

Re: unable to understand nature of obtained results

Hi Archiver,
I'm facing a similar problem, did you find a solution to this issue ?

Regards
Li
by Bingo LI
11 months ago
Forum: Modeling
Topic: Need help to programm j≠i
Replies: 2
Views: 510

Re: Need help to programm j≠i

Hi Fred,
Thank you for your prompt reply. It solves my problem perfectly.
Just as you said, I misinterpret the GAMS syntax 'j ≠i ' as 'j<>i '.
Again, thank you!

Best,
Li
by Bingo LI
11 months ago
Forum: Modeling
Topic: Need help to programm j≠i
Replies: 2
Views: 510

Need help to programm j≠i

Hello all, I want to programm a formulation: sum(t, sum(j∈N & j≠i, P(i,j,t))). The code is as follows: set i / 1,2,3 / t / 1*24 /; alias(i,j); sum((t,j)$(t,j<>i), p(i,j,t)) However, the programm repor some errors: 148 Dimension different - The symbol is referenced with more/less indices as declared ...
by Bingo LI
11 months ago
Forum: Solvers
Topic: Can someone help me with GAMS Error 148
Replies: 4
Views: 946

Re: Can someone help me with GAMS Error 148

It works
Thank you very much!!

Best,
Li
by Bingo LI
11 months ago
Forum: Solvers
Topic: Can someone help me with GAMS Error 148
Replies: 4
Views: 946

Re: Can someone help me with GAMS Error 148

Hi Renger, Thanks for your answer. In my purpose, I exactly want to minimize each ETA (ETA(1), ETA(2), ETA(3)) because I want to utilize some distributed algorithm. And p_pvf(i,t) is a variable in my future formulation. Could you give me some advice to write it under the rule "write one objective fu...