Search found 4 matches

by kankanertan
7 months ago
Forum: Solvers
Topic: about error 066
Replies: 6
Views: 2132

Re: about error 066

Thank you very much, I'll try!
by kankanertan
7 months ago
Forum: Solvers
Topic: about error 066
Replies: 6
Views: 2132

Re: about error 066

This is all my code, I have checked it many times, Thank you very much for check it again! set n / $include NodeSet.inc /; set i / $include GenSet.inc /; set j / $include WindGenSet.inc /; set k / $include LineSet.inc /; set l / $include LoadSet.inc /; set t / t1*t24 /; set c / c1*c5 /; parameter KG...
by kankanertan
7 months ago
Forum: Solvers
Topic: about error 066
Replies: 6
Views: 2132

Re: about error 066

I have defined 'z' as a variable and use it in an equation

this is some of my code


variable z;

.
.
.

Cost.. z =e= sum( (i,t) , a(i) * p(i,t) );

I dont konw how to send all my code or send an image to you.I am sorry.
by kankanertan
7 months ago
Forum: Solvers
Topic: about error 066
Replies: 6
Views: 2132

about error 066

The symbol shown has not been defined or assigned A wild shot:You may have spurious commas in the explanatory text of a declaration. Check symbol reference list. the error is in this sentence :'Solve GenUnitCom using lp minimizing z;' but I have defined the symbol 'z', why the error is still there? ...