We’re rewarding the question askers & reputations are being recalculated! Read more.

# Questions tagged [mathematical-optimization]

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

190 questions
Filter by
Sorted by
Tagged with
1k views

### Find the values of 3 variables that best fit 6 equations [duplicate]

I have 6 equations ...
186 views

### Simultaneous minimisation of chi-square

I have a series of data sets with which I would like to fit a model function to simultaneously. In each data set, I have coordinates $\left\{x,y\right\}$ and an error bar for $y$. The data sets are ...
636 views

### Why is NMinimize trying to evaluate my function analytically instead of numerically?

I have been having some trouble with NMinimize. I am trying NMinimize[f[x], x] where f is ...
43 views

### How to Add a Constraint on the Derivative of the Model in FindFit

I would like to add constraints on a model and its derivatives and then use FindFit to fit some parameters. An example is below: ...
51 views

### Using FindMinimum to solve equations as constraints

As suggested here, a system of equations can be seen as constraints in a minimization procedure with a zero cost function. For instance: ...
131 views

101 views

### 3D Plot the result of local Minimize with varying parameter values

I'm faced with the following minimization problem: Find $r\in[0,1]$ that minimizes $\frac{d^2+k^2 (1-2r)r}{2(1-r)r}$, which is bounded by 0 and 1. In addition, $k<d$ holds and each of $d$ and $k$ ...
175 views

### What is wrong with my ArgMin expression?

I need to find the minimum of a function $mj_1^2+mj_2^2$ where my $mj$ are constrained. I wrote this expression: ...
905 views

### Problems finding intersection points between line and generic function

I'm trying to find Intersection points between a line, which is given by 2 points, and a generic function (I want it to be able to handle polynomial functions, circles/ovals, lines and all ...
225 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 ...
153 views

### Why does it matter at what point I replace?

I need to find four orthogonal linear combinations of complicated functions, that vanish at four different points. I use (LK4 is defined below, but its shape should have nothing to do with my problem)...
98 views

### What are the differences between these functions when used for NMaximize?

In short, the question is how to construct the function you want to optimize? ...
62 views

35 views

### Nested optimization problem 3

thanks to Ulrich Neumann I am getting close to the solution of my problem... However, Mathematica tells me that no points satisfy the constraints of the following problem: ...