Search found 5 matches
- 6 years ago
- Forum: Modeling
- Topic: Warning: The number of nonlinear derivatives=0 in initial point is large
- Replies: 0
- Views: 2636
Warning: The number of nonlinear derivatives=0 in initial point is large
hi all, i have a few questions that are more about understanding, then finding a solution: i simplified an existing code. it is a maximazition model with many non-linear equations. now as i run the adjusted model, the following warning shows up: "** Warning ** The number of nonlinear derivative...
- 6 years ago
- Forum: Syntax
- Topic: x^y, where x<0 and y non-integer
- Replies: 3
- Views: 4339
Re: x^y, where x<0 and y non-integer
oh, i guess its been to long, that i have been to math class:) the reason i thought that it works, is that google actually gave me a result.
solution: (yes mathematicly not the same, but what i logicly wanted to do anyways)
-(abs(x)**y)
solution: (yes mathematicly not the same, but what i logicly wanted to do anyways)
-(abs(x)**y)
- 6 years ago
- Forum: Syntax
- Topic: x^y, where x<0 and y non-integer
- Replies: 3
- Views: 4339
x^y, where x<0 and y non-integer
this seems silly, but i cant get it done:
i want to simply calculate
x^y, but neighter the **operator nor the power() function is working, because x<0 and y is non-integer.
example:
(-0.1)^(1/5)
how can i do this in gams?
i want to simply calculate
x^y, but neighter the **operator nor the power() function is working, because x<0 and y is non-integer.
example:
(-0.1)^(1/5)
how can i do this in gams?
- 6 years ago
- Forum: Syntax
- Topic: Calibration by linear interpolation
- Replies: 3
- Views: 4053
Re: Calibration by linear interpolation
thank you, that helped already enormously. i want to use, what i learned here for another part of the calibration.. in order to calibrate some values from 5 year time steps to 1 year time steps, i want to minimize the difference between values where i used E(t) and where i used Eyear(year), but only...
- 6 years ago
- Forum: Syntax
- Topic: Calibration by linear interpolation
- Replies: 3
- Views: 4053
Calibration by linear interpolation
Hello, i have a functioning model with time steps of 5 years. i want to rewrite the code to timesteps of 1 year. for that i need to recalibrate certain values. first step to do so is to get yearly values for a variable, that has only values every 5 years. so the originial code works with a set "...