Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.2K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to define piecewise functions of two variables for NMinimize?

Posted 3 years ago
2 Replies
POSTED BY: Henrik Schachner

Hey Henrik,

that does help, thank you! I'll have to look into interpolated functions in Mathematica sometime.

I actually got it to work by using Minimize instead of NMinimize and simplifying the definitions of beta and gamma by reusing alpha. I was actually interested in a slightly different problem (with another piecewise function on the RHS instead of just 1/3 and some conditions to remove the trivial w=x=y=z=1 solution), but that change didn't pose any problems.

Kind regards,

Jesco

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard