# All Questions

23 questions
Filter by
Sorted by
Tagged with
2answers
65 views

### Trouble finding a maximum of a constrained multivariate function

I have a multivariate function that I seek to maximize (ideally symbolically): The function has the form: $\frac{(-j*a)}{8 (-(b/2) - j (c-d-e)) ((j*b*c)/2 - (j*b*d)/2 + c*d - d^2 + a^2/4))}$ (...
2answers
46 views

### Define x as a multiple of a number as a constraint in the Maximize function

I am trying to optimize a linearly constrained Production Function. I have three inputs and want them all to be multiples of 150. I can make all the inputs to belong to the Integer Domain but is there ...
2answers
129 views

### “Forcing output of a function to be Real in Mathematica” Non-linear optimization

I am trying to solve a Nonlinear optimization problem with Mathematica. Since the maximization problem includes exponentiation with fractional power, the result generates the complex numbers that stop ...
0answers
33 views

### Constructing constraints from a list [duplicate]

I want to use FindMinimum to minimize some functional, say f[argList_] = Total[argList^2] Now the variables over which to ...
1answer
60 views

### Assignment to slots with inequality constraints

Suppose that I have a table A with each of its n columns corresponding to an "individual" and each of its m rows corresponding to a "task". The element of the jth ...
1answer
69 views

### Finding the optimum value of a variable subject to a nonlinear constraint

I want to know whether or not the objective function I have defined is correct. The nonlinear constraint has to be satisfied while ζ varies from 0 < ζ <= 1/2. This is the first time I am trying ...
1answer
60 views

### Constraints thread over lists, for NMinimize

I have the following code ...
0answers
70 views

### Large Deviations on Mathematica

I am not an expert with Mathematica, and I really need your help. I am trying to do some large deviation theory with Mathematica and I have to minimize a piecewise function. How do I minimize a ...
1answer
91 views

### Finding the slowest decay to a value for a 2D function

I have a function acf2[x,y] that describes the auto-correlation function of a simulated real surface, with a peak at the origin (...
1answer
183 views

### Constraints of vector element in FindMinimum

I try to find the local minimum of a function $$\Pi(\vec{d})$$ where $$\vec{d} = (d_1,d_2,...,d_n)$$ should satisfy $$d_i>0$$ for $i \in [1,n]$. I use the ...
1answer
180 views

### Minimizing with constraints

I would like to minimize the following function with respect to x: f[x_] := b/Sqrt[x] + ( 4.5 c x^6 Log[x] )^(1/3) where b ...
1answer
336 views

### how to find a function that minimizes the other function with a known function

The problem that i am facing is that of energy minimization. I have a function called totalenergy which is sum of two functions the elastic energy and the surface ...
2answers
77 views

### Setting up delayed constraint in Minimize, true for every t for each solution

I need a solution for t1, t2, flatR, flatC that holds r >= 2*c true for every t. I want ...
1answer
156 views

### Finding optimal taxation policy- constrained optimization [closed]

I need to solve two constrained optimization problems where the second problem depends on the results of the first. The agents in my economy maximize utility: $$\max_{c,d,l} p\ln(c)+\ln(d)+\ln(l)$$ ...
1answer
833 views

### Maximize: specify the range of a parameter

I am trying to do symbolic maximization of a function, and would like to specify the range of a parameter of that function. I am able to set constraints of the variable I am maximizing over, but am ...
1answer
79 views

### How can I improve the result of this non-linear optimization?

Given a positive integer $d$ and some $0 < t < 1$ I would like to find a global minimum1 for $$\sum_{k = 1}^n d^2 \tan\left(\frac{\pi}{2} \, x_k\right) + 8 d$$ over $n \in \Bbb{Z}_{> 0}$ ...
1answer
206 views

### Improving strategy to solve this constrained root-finding problem

I am looking for roots of the function eqs defined below. It has $2k$ unknowns and returns a vector of $2k-1$ components. The sole purpose of the following block ...
1answer
330 views

### FindMaximum failing on a trivial problem [closed]

I am trying to solve a trivial optimization problem with FindMaximum but for some reason it is not going. I reduced the problem down to the following non-working ...
2answers
393 views

### NMinimize Constraints on Interpolating Functions

I have the following piece of code and am trying to use NMinimize (the last line in the following chunk of code) to minimize ...
1answer
70 views

### Finding function by constraints

I have the following coefficient finding problem: f[x] := a * Log[b*x + c] + d Constraints: f = 1 f = 0.5 I want to find the coefficients of f that ...
0answers
453 views