All Questions

Filter by
Sorted by
Tagged with
2
votes
2answers
38 views

Piecewise function and deriving - solving

I'm working in a (Economics) problem where I want to add two concave (profit) functions in order to maximize them together through one variable (quantity). My problem is that one of the two functions ...
0
votes
1answer
81 views

Defining a function to be the minimum of two other functions

I cannot find a way to define a function as the minimum of two other functions that each have the same two independent variables. I have f(x,y) and g(x,y), and I would like to find $h = \min\{f(x,y),g(...
2
votes
1answer
135 views

Symbolically Minimizing Expression with Multiple Piecewise Functions

Following up my previous question about ArgMin, I now face a situation where the solution to an ArgMin call, where the output is ...
2
votes
0answers
78 views

Understanding ArgMin with constraints

Consider this simple snippet: ArgMin[{(x - a)^2, -1 <= x <= 1}, x] which should (in my mind) output something like $$ x = \begin{cases} -1 & a < -1 ...
0
votes
0answers
151 views

Minimize integral with piecewise functions

I am not an experienced user of Mathematica. I would like to find parameters $d1,d2,d3,e1,e2,e3$ which minimize such an integral (given $c11,c12,c13,c21,c22,c23,c31,c32,c33$): $\int_{0}^{1}\int_{0}^{...
3
votes
1answer
255 views

Does 'True' stand for 'Else' in Maximize function output? [closed]

Maximize[a x^2 + b x + c, x] gives this solution: Does the word True stand for "else" here? What exactly did ...
1
vote
0answers
378 views

Maximize and NMaximize don't work for my function

I defined the following function: d1[x_] := Min[Abs[FractionalPart[x]], 1 - Abs[FractionalPart[x]]] and tried to evaluate the following function: Maximize[{Min[d1[15*x],d1[12*x],d1[18*x]],Abs[x-...
0
votes
0answers
96 views

Transform NMinimze into LinearProgramming formulation

I have the following maximization problem that I currently try to solve with Minimize/NMinimize. Unfortunately, this kind of solution method takes really long for large systems of equations and ...