Hello.
I get a multi-dimension set and I hope to write the row of the set.
how to describe the red part?
Thanks
Search found 9 matches
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hello, everyone.
Too many errors appear in my code.
I have to ask for advice. j is set and belongs to b and c, and b and c is multi-dimension sets.
could you help me? I have a really difficulty for this problem.
thank you.
Too many errors appear in my code.
I have to ask for advice. j is set and belongs to b and c, and b and c is multi-dimension sets.
could you help me? I have a really difficulty for this problem.
thank you.
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hi,Renger.
Thanks so much for your advice.
I have solved the problem of the equation. but now another problem exists in my case.
I want to write a multi-dimension set element is greater than 0, the set is got from the mapping between the set. regards.
Thanks so much for your advice.
I have solved the problem of the equation. but now another problem exists in my case.
I want to write a multi-dimension set element is greater than 0, the set is got from the mapping between the set. regards.
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hi Renger,
Thank you for your reply.
I try to modify the code as your advice, but the errors still exist.
Thank you for your reply.
I try to modify the code as your advice, but the errors still exist.
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hi Renger, Thank you for your reply. in my case, I want to express the relationship between the node and its parent nodes. In previous work, I have got the matrix like fig 1.now I need to write the constraint between the node and its parent nodes, for example, in fig 1, I want to give the constraint...
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hi,
Now I have a question about the row of sets.
I get a set-a like fig11, now I need to use the result of set a and set b, but how can I express the row of a and b?
I try it like fig14 but it is wrong, could you help me?
thanks.
Now I have a question about the row of sets.
I get a set-a like fig11, now I need to use the result of set a and set b, but how can I express the row of a and b?
I try it like fig14 but it is wrong, could you help me?
thanks.
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hi, everyone.
The last email maybe has an error and I want to realize the following aim. But no idea in my mind. ,
how can I control the sign B.
thanks again.
The last email maybe has an error and I want to realize the following aim. But no idea in my mind. ,
how can I control the sign B.
thanks again.
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
Re: remove the duplicate item
Hi, Thank you so much for your help. Maybe a misunderstand existing in my text, I try it as your advice, the correct answer is b(j,i,k)$(ord(i) = ord(k))=no;it can realize my target. Due to I am a beginner and no experience in GAMS, I have other questions in my study. How can realize the following a...
- 3 years ago
- Forum: Syntax
- Topic: how to write the row of sets
- Replies: 11
- Views: 5907
how to write the row of sets
Hi, everyone.
I want to express the row of a set in my code.for example, I get a multi-dimension set and I hope to write the row of the set. I want to write the red part.
thank you so much
I want to express the row of a set in my code.for example, I get a multi-dimension set and I hope to write the row of the set. I want to write the red part.
thank you so much