Skip to main content

Questions tagged [mathematical-optimization]

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

1 vote
0 answers
40 views

Minimum Distance to Fly to Each European Country

Help me plan my holiday. These are all my available flights that I can get on airline points. I'm trying to work out what is the shortest distance to travel if I want to go to each every European ...
Tomi's user avatar
  • 4,558
1 vote
0 answers
42 views

TimeConstrained and optimization

I am trying to understand why wrapping TimeConstrained[] around optimization, e.g., MinValue[] can sometimes fail. To reproduce ...
Aharon Naiman's user avatar
1 vote
2 answers
199 views

Why can't the minimum value of this trigonometric function be calculated?

...
csn899's user avatar
  • 4,521
0 votes
0 answers
47 views

Checking whether a linear homogeneous system with m equations and n>m unknowns, has m unknowns that are sums with positive coefficients of the others

I call a "pseudo-linear", homogeneous system with m equations positively representable, if it has m terms that are sums with positive coefficients of the others. A class with precisely one &...
florin's user avatar
  • 1,900
0 votes
0 answers
32 views

Find the function for a decision variable

I'm currently trying to find the equation for a decision variable from a total profit equation using Mathematica. From what I've read, I can use the solve function to do this. Here's a example i found:...
Icebear's user avatar
1 vote
2 answers
56 views

Find a parameter to return minimum of the function of several variables

I have two functions $f_1(n,x)$ and $f_2(n,x)$, and I want them to look similar on the given range $n\in[1,20]$. I can only vary the parameter $x$. In other words I have a function $F(n,x)=f_1(n,x)-...
seva011's user avatar
  • 336
3 votes
3 answers
255 views

Plotting minima of a mutivariable function

Consider a function, z (x,y) = x^2 + y^2 + 3*x*y. For a range of x, I like to plot the minimum values of ...
raf's user avatar
  • 149
7 votes
2 answers
378 views

How to find stationary points graphically?

I have the following Mathematica code: ...
codebpr's user avatar
  • 2,433
1 vote
1 answer
97 views

What is a "small" nonlinear programming problem?

This page https://reference.wolfram.com/language/tutorial/ConstrainedOptimizationComparison.html says "Even for local optimization, it may still be worth using NMinimize for small problems" ...
Alan's user avatar
  • 41
2 votes
1 answer
120 views

Visualization of Minimization Problem

I am trying to visualize the objective function (f1), the constraint (isoq), and the optimal solution. The optimal solution is at the tangency of both graphs. I can plot the constraint, but the ...
Tom's user avatar
  • 383
2 votes
0 answers
49 views

Calculating time too long for $A\succeq I$, minimize $tr(A)$ when $A$ is of dimension 4

Suppose $A_0$ is a 4*4 matrix, the constraint is $A_0\succeq I$, which means $A_0-I$ is semidefinite positive. The target function is maximum of 1-tr($A_0$), and the answer is -3 when $A_0=I$. However,...
qmww987's user avatar
  • 121
4 votes
2 answers
596 views

Make two disks just touch

I have two disks, that I want to make touching each other. One disk is fixed, the other can shift along the x axis. The shift should be determined to make the disks intersecting in one point (or have ...
Eisbär's user avatar
  • 1,580
0 votes
1 answer
86 views

Maximization subject to constraints

I want to solve for parameters and not specific values. ...
CarS's user avatar
  • 1
0 votes
0 answers
65 views

Mixed Integer Quadratic Program (MIQP): Kernel crashes during computation

I am solving an optimal placement problem using MIQP (Mixed Integer Quadratic Program, using the QuadraticOptimization function WM version 14). The objective ...
Lavr's user avatar
  • 1
2 votes
1 answer
271 views

How Can I Relax a Molecule in Mathematica?

I have a molecule in Mathematica. It consists of around 70 atoms, but let us for simplicity assume that we only have four atoms: ...
flg's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
150