All Questions
Tagged with equation-solving mathematical-optimization
211
questions
1
vote
2
answers
323
views
Mathematica: How can I solve the problem "The Kernel Local has quit (exited) during the course of an evaluation"
I am using a Mac Book with Monterey and 16GB RAM for a calculation with 2 nested For loops.
I am relatively new to Mathematika and still trying to learn the language properly, so I hope the problem is ...
4
votes
0
answers
137
views
Solving or Minimizing the Norm of the matrix equation $M^TAM - M^TB - B^TM =C$
I am trying to solve the matrix equation $M^TAM - M^TB - B^TM=C$ where I know A, B and C. My unknown matrix is M which has the special form that all the rows and columns sum to zero.
i.e. I have four ...
0
votes
1
answer
74
views
Formalization of one optimization problem or solution of inequalities - Part №2
Continuing the question: Formalization of one optimization problem or solution of inequalities
Let's consider a more complex problem. We have two polynomial:
$p_1=A_2t^2+A_1t+A_0$
$p_2=B_2t^2+B_1t+B_0$...
2
votes
1
answer
79
views
Formalization of one optimization problem or solution of inequalities
I have polynomial:
$p=A_2t^2+A_1t+A_0$
$A_0=(x^2-y^2)+xz$
$A_1=x^2+y^2+z^2+\sin(x)$
$A_2=x^4+y^3+z^2$
$x,y,z$ - parameters, moreover $z$ - the value of which varies in the range $[0,1]$.
Polynomial $p$...
0
votes
2
answers
215
views
Min and Max of a function
I need to obtain for what $a_i$'s the function:
$$a_1 \ln (\sqrt{2\pi e} s_1) + a_2 \ln (\sqrt{2\pi e} s_2),$$
has a maximum and minimum, under the constraint $a_1 + a_2 = 1$; also, $s_1, s_2 > 0$.
...
1
vote
1
answer
92
views
Minimize Reprojection Error [closed]
I have a function
Point= {2, 0, 0, 1};
x = ProjectionMatrix[f] . (RotateMatrix . Point + t)
Return[x];
x is a 3D Vector.
where the Projection Matrix is
...
2
votes
2
answers
146
views
Solve Equations using Mathematica
Good day. I have a question of how to get the algebraic expressions for $a$, real part $b$ (denoted $Re(b)$), and imaginary part $b$ (denoted $Im(b)$).
Let's say $a$ is a real number and $b$ is a ...
3
votes
2
answers
182
views
FindMinimum::lstol
I have a function SQ[b,zQ,zh] where I want to find at which zQ it is a minimum given b and <...
0
votes
0
answers
157
views
FindMinimum/FindRoot failed to converge
I have a function SQ where it is also determined by sig. For b=0.1 and ...
0
votes
0
answers
113
views
Solving a system of equations as part of maximizing a multivariable function
This is my code
...
-1
votes
1
answer
174
views
Trying to solve a basic Lagrangian optimisation problem
New to Mathematica, trying to solve a simple economics problem but having troubles with using Solve and Eliminate.
The question:
Now suppose that this agent makes two choices, expressed by x and y
...
1
vote
1
answer
139
views
FindRoot with a big range
I have a variable sig that is related to the variables (b,zQ,zh) given by torootsig, so I ...
0
votes
0
answers
96
views
(Urgent) NSolve not working and visualization of solutions
I want to solve a system of three equations and 3 variables numerically with NSolve, but it either takes an eternity and doesn't give me a result or it gives me an error message that the methods ...
0
votes
1
answer
332
views
How to force NMinimize to find the correct global minimum for equation with many local minima?
I have a function that I am unable to recover a solution for. Here, 0.533... and 0.428... are the exact solutions for Rs[399] and ...
0
votes
2
answers
220
views
Is it possible to calculate the desired area analytically?
I have the three two-variable curves $f,g,h$ with $0\leq x\leq \frac {\pi}{2} $ and $0 \leq y \leq \pi$
I use ContourPlot as
...