I am trying to help fmincon to converge faster by supplying gradient vector and Hessian matrix. I am using interior-point algorithm and I realize that in such case, I have to supply Hessian using a ...

I have a set of three unknowns which I need to resolve from 50 different non linear equation. Which method should I use in matlab? I found out that fsolve can do that, but then I faced another issue. ...

I would like to find all roots of a nonlinear equation in one variable, e.g., f(x) = 0.
The maximum possible number of solutions can be determined theoretically.
The unknown variable x is an angle, ...

I'm trying to use the Microsoft Solver Foundation (C#) together with the Nelson Siegel Svensson equation to optimise a yield curve. I tried using the Nelder-Mead Solver as outlined in this SO question ...

I am new to SCIP and have read through some of the example problems and documentation, but am still unsure how to formulate the following problem for the SCIP solver:
argmax(w) sum(sign(Aw) == sign(b)...

Hi I am trying to solve 3 non-linear equations using nl command in Stata within a loop. The working program to solve equations for one set of values is as follows;
capture program drop nlcostsolver
...

I am using Excel Solver to allocate demand across several suppliers. I am using tiered pricing, so the objective function is nonlinear. (price is function of volume, and total cost = price x volume). ...

I would like to maximize the quotient of two linear functions. I would want my decision variables to be Binary here i.e. they have to be integers and can take values of only 0 and 1.
I wanted to know ...

I have started in the noble endeavor of getting the (somewhat) higher ups of the company I work at to at least consider ML. I work in automotive so the bulk of our "problems" have to do with things ...

I am trying to use scipy's basinhopping in conjunction with a function that I created. Although my question is related to this thread, the difference is that my function does not return a single value,...

Edit: Everything is good :)
This is a code which works with small values of t=20 and TR=([[30,20,12,23..],[...]]) but when I put higher values it is shown "Expect x to be a 1-D sorted array_like.". ...

I wrote a class with the aims to solve the system of differential equations (given in numpy.array form) , in order to solve the non linear system I'm using the scipy.optimize.fsolve using an example ...

I need to return the two coordinates of intersection between a circle:
f[0] = (x-h)^2 + (y-k)^2 -r^2
And a line:
f[1] = y - y1 - m*(x - x1)
I have tried using fsolve, but I cannot pass the variables ...

I'm trying to solve the following problem: I have a lot (~80000) surface patches of an organ that's growing. I measure each of its areas over time (18 time-points) and want to fit a growth curve to it ...

I'm trying to solve what is effectively a non-linear equation, containing a spline object. Since I want to do this many times with different data I don't want to create a new function for each data ...

I'm currently trying to solve a nonlinear program by using JOM (Java Optimization Modeler) which uses a dll called IPOPT38.dll.
I didn't find programs that are running to get inspired, please can you ...

I wonder how I could solve the below problem correctly in Python? The theoretical solution should be =300, t=200. d= 1. When I run the program I get a=500, d=1. It appears that the subproblem is left ...

I have a maximization problem I would like to solve:
In order to do so I am looking forward to use the minimize function from the scipy library.
Before I go into what I tried, I will define each of ...

Say, I have done clustering on my dataset and have 10 clusters. These clusters are non-overlapping. But now assume I changed some feature in all my data points and do clustering again. Now I have 10 ...