Hello Michael,
Thank you it solved the issue.
I can do a lot more now with this approach. I didn't know about it.
Thank you.
Search found 7 matches
- 5 years ago
- Forum: Modeling
- Topic: problem in Printing Optcr
- Replies: 2
- Views: 3492
- 5 years ago
- Forum: Modeling
- Topic: problem in Printing Optcr
- Replies: 2
- Views: 3492
problem in Printing Optcr
Hello,
I'm solving a scenario problem and I need to store the value of optcr associated with every scenario solution in the excel file.
I tried using
PUT 'OG',loop (scn, PUT optcr)PUT/;
but it gave an error 140
Error 140 in......
Unknowm sysmbol
Please help.
I'm solving a scenario problem and I need to store the value of optcr associated with every scenario solution in the excel file.
I tried using
PUT 'OG',loop (scn, PUT optcr)PUT/;
but it gave an error 140
Error 140 in......
Unknowm sysmbol
Please help.
- 5 years ago
- Forum: Modeling
- Topic: Error 149, Uncontrolled set entered as constant
- Replies: 6
- Views: 8725
Re: Error 149, Uncontrolled set entered as constant
Hi Steve,
Thank you so much...
Yes, you understood my problem completely and perfectly. I'll take a look at the example in gamslib and will post the progress here for your acknowledgement.
once again thank you.
Thank you so much...
Yes, you understood my problem completely and perfectly. I'll take a look at the example in gamslib and will post the progress here for your acknowledgement.
once again thank you.
- 5 years ago
- Forum: Modeling
- Topic: Error 149, Uncontrolled set entered as constant
- Replies: 6
- Views: 8725
Re: Error 149, Uncontrolled set entered as constant
Hi, Thanks for checking it up. The code is running but I'm not able to reproduce the result. Basically I'd say my code is still not working as whatever changes I'm making into loop with $ conditions and if statements the code is giving me the same output every time which is different from the actual...
- 5 years ago
- Forum: Modeling
- Topic: Error 149, Uncontrolled set entered as constant
- Replies: 6
- Views: 8725
Re: Error 149, Uncontrolled set entered as constant
Hello Chintan, yes, it removed the error but I'm still stuck with the loop. As I want to do it for the scn (one increment at a time). for looping I'm doing like.... Model test /all/; OPTION MIP = CPLEX; OPTION optcr=1; OPTION limrow=0; OPTION reslim=72000; Solve test using MIP maximizing OF; FILE Re...
- 5 years ago
- Forum: Modeling
- Topic: Error 149, Uncontrolled set entered as constant
- Replies: 6
- Views: 8725
Error 149, Uncontrolled set entered as constant
hi, I want to use values of a 2D parameter by applying a loop in such a way that for every run of the loop, the values of only one set is changing while the value of other set is constant during a single run and changes with an increment of 1 when the loop starts again. eg. in a [168X99] matrix the ...
- 5 years ago
- Forum: Modeling
- Topic: Error 495 and Error 141 : Load Dimensions are different and symbol declared but no values have been assigned
- Replies: 1
- Views: 3749
Error 495 and Error 141 : Load Dimensions are different and symbol declared but no values have been assigned
Hello I'm having problem in running my code. I'm using data from the excel sheet and having errors. please help I've been stuck on this for two weeks now. $call gdxxrw.exe i=Messer_data_MP.xlsx output=Calendar.gdx set=t rng=Calendar!A11:A754 rdim=1 set=scn rng=Calendar!B759:CV760 cdim=1 par=ECONCOST...