## Search found 5 matches

- 1 year ago
- Forum: Modeling
- Topic: Warning: The number of nonlinear derivatives=0 in initial point is large
- Replies:
**0** - Views:
**713**

### 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 derivatives equ...

- 1 year ago
- Forum: Syntax
- Topic: x^y, where x<0 and y non-integer
- Replies:
**3** - Views:
**798**

### 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)

- 1 year ago
- Forum: Syntax
- Topic: x^y, where x<0 and y non-integer
- Replies:
**3** - Views:
**798**

### 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?

- 1 year ago
- Forum: Syntax
- Topic: Calibration by linear interpolation
- Replies:
**3** - Views:
**1034**

### 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...

- 1 year ago
- Forum: Syntax
- Topic: Calibration by linear interpolation
- Replies:
**3** - Views:
**1034**

### 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 "t": ...