Search found 3 matches

by Hendrik Mahlkow
6 years ago
Forum: Syntax
Topic: Piecewise Non-Linear Function
Replies: 1
Views: 2979

Piecewise Non-Linear Function

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...
by Hendrik Mahlkow
6 years ago
Forum: Modeling
Topic: NLP Optimization: bounded supply function in a trade model
Replies: 1
Views: 2637

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