# Questions tagged [mathematical-optimization]

Questions on the optimization functions of Mathematica such as FindMinimum/FindMaximum, Minimize/Maximize, NMinimize/NMaximize, etc.

2,159 questions
Filter by
Sorted by
Tagged with
460 views

### How to find the maximum value of this trigonometric function?

The known conditions are: Sin[2 α + β] == 2 Sin[β], 0 < α < π/2, 0 < β < π/2 Find the maximum value of Tan [β] <...
42 views

### Plot boundaries of a multivariable function projected in 1d

Suppose I have a function f[x,y,z,w] and all the variables are constrained in the region [-1,1]. Now, I want to plot this ...
1 vote
43 views

### Finding an optimal orientation and the oriented diameter of a given graph

I am wanting to specify a graph (a collection of vertices and edges) and find the optimal orientation of that graph. An orientation of an undirected graph is an assignment of a direction to its every ...
1 vote
77 views

### Optimal basis set of Gaussian functions for describing a quantum system (part 2)

It's a part 2 of this question Optimal basis set of Gaussian functions for describing a quantum system (part 1) There, the answer was given to a question related to finding geometric progressions of ...
83 views

### Error in numerical integration using Wolfram Mathematica

I hope you are doing well. I am having serious problems while calculating a numerical integral in Wolfram Mathematica, as the following error messages appear: 1- "Numerical integration converging ...
186 views

### Optimal basis set of Gaussian functions for describing a quantum system (part 1)

This question arose during the discussion of the previous questions: Why does the minimum eigenvalue change dramatically when one basis function is added to the basis set? and Finding excited states ...
125 views

### Representing pairs of values that lead to a constant

I have the following expression: $Q=\frac{\sqrt{rc}}{1+r(1+K)}$ Q and K are constant values. Basically I want to plot a graph that shows me all the combinations of r and c that verify the equation. ...
174 views

### Finding excited states using the condition of wave functions orthogonality

This is the continuation on my previous question Why does the minimum eigenvalue change dramatically when one basis function is added to the basis set? Brief description of the problem: I would like ...
1 vote
80 views

### Color coding a parametric plot based on given conditions

This question is based on the answers provided here and here. Basically, I have the following Mathematica code to calculate the Lyapunov exponents as a function of Temperature: ...
38 views

### NMinimize negating the minimum value

I am having a very strange issue. I have the following piece of code: ee = 0.685149/(1 - E^-l) Plot[ee, {l, 1.8, 10}] NMinimize[{ee, 1.8 <= l <= 10}, l] As ...
39 views

1 vote
39 views

### How to delay evaluation of Tuples[list,n] when n is a variable to be optimized through NMinimize?

I am trying to do a linear optimization on a variable i where an intermediate variable v is needed: ...
135 views

### Is it possible to ask Mathematica to find those points $(x,y)$ at which the given function may reach its global/local extrema?

I have this two-variable function $f(x,y)$ for {x,-Pi,Pi} and {y,-Pi,Pi} in which $\{a,b,c\}$ are real parameters (can be ...
204 views

68 views

### Find the minimum value of a constrained multivariable function [closed]

Say I have a function of four variables $f(x_1,x_2,x_3,x_4)$ and a constraint $g(x_1,x_2,x_3,x_4)$ (both are quite complicated, that's why I don't write them explicitly). I want to find the minimum ...
45 views

### Moving average MA(1) coefficient estimation

I am new to mathematica, I have some simulated a moving average, MA(1), data and I want to estimate the coefficients, theta, of it using Maximum likelihood estimation or log likelihood. Can someone ...
18 views

### Is there a way to print all the outputs NMaximize runs through for different variable combinations?

I've got some function of 4 angles ($\theta1$, $\phi1$, $\theta2$,$\phi2$) that I'd like to maximize using NMaximize, but I'd like to be able to see the output for ...
54 views

### Using the result of Solve as a function of parameters

I am trying to find b2 maximising a function I named 'EG1EUB'. And 'EG1EUBb2' is the frist order condition. Based on my understanding, Solve gave me a single solution saying that b2 is the second root....
66 views

### Reduce local maximum of function, a problem of optimization

So I have this almost linear function (for evey frequency it is the square root of a sum of squares), but not quite. ...
157 views

### Holes in ContourPlot3D

I have a polynomial polyHP and I put some conditions Reg on it and I try to plot it with ...
30 views

### Can I avoid FindMinimum ruining my Asserts with symbolic stuff?

I am new with Mathematica, so forgive me if I completely misunderstood the nature of the problem... Problem description I want to optimize a fairly complex function bypassing explicit derivative ...