Hello,
Is there a way a way to work with piecewise non-linear functions in NLP or DNLP?
if x < x_max then: y(x) = a * x ^ c
if x > x_max then: y(x) = b * x ^ d
I have no idea how the syntax should look like...
Search found 3 matches
- 6 years ago
- Forum: Syntax
- Topic: Piecewise Non-Linear Function
- Replies: 1
- Views: 3013
- 6 years ago
- Forum: Modeling
- Topic: NLP Optimization: bounded supply function in a trade model
- Replies: 1
- Views: 2678
- 6 years ago
- Forum: Modeling
- Topic: NLP Optimization: bounded supply function in a trade model
- Replies: 1
- Views: 2678
NLP Optimization: bounded supply function in a trade model
Dear ladies and gentleman, I am an economist and new to modeling and programming. Please be forgiving with my lack of mathematical language. I work on a simple non-linear trade model which derives prices and price changes, based on exogenous market shocks. For simplicity reasons right now the model ...