Software to solve Nonlinear Systems (ineq and eq)

AI Thread Summary
The discussion revolves around solving a system of nonlinear equalities and inequalities related to a Karush-Kuhn-Tucker (KKT) problem. The user seeks guidance on using software, specifically MATLAB or Maple, to compute the solutions for the KKT conditions. They also mention an alternative approach of solving the original minimization problem, which involves minimizing the function s1^2 + s2^2 under specific constraints. The need for effective computational methods for nonlinear systems is emphasized, highlighting the complexity of the problem. Overall, the thread seeks practical advice on leveraging software tools for optimization in nonlinear systems.
soundofsilence
Messages
2
Reaction score
0
Hi everyone,

I've got an optimisation/computing question. I have a system of nonlinear equalities and inequalities, which I've written below for reference. It's the conditions for a minimiser of a Karush-Kuhn-Tucker problem. Would anyone be kind enough to explain how I could use software to compute the solution? I've never really used MATLAB or maple which I assume might be able to do that. A second best would be computing the solution to the original problem, which I've also posted.

Ideally I would like to compute solutions to these, which I hope are the KKT conditions for a minimiser

2s_{1}-\mu_{1}+\lambda_{1}(\frac{5}{2}(\frac{1}{2}s_{1}+<br /> \frac{1}{4}s_{2}+\frac{1}{4})^{4}-1)+\lambda_{2}(\frac{2}{3}<br /> (\frac{1}{3}s_{1}+\frac{1}{3}s_{2}+\frac{1}{3}))=0

2s_{2}-\mu_{2}+\lambda_{1}(\frac{5}{4}(\frac{1}{2}s_{1}+<br /> \frac{1}{4}s_{2}+\frac{1}{4})^{4})+\lambda_{2}<br /> (\frac{2}{3}(\frac{1}{3}s_{1}+\frac{1}{3}s_{2}+<br /> \frac{1}{3})-1)=0

(\frac{1}{2}s_{1}+\frac{1}{4}s_{2}+\frac{1}{4})^{5}-s_{1}=0
(\frac{1}{3}s_{1}+\frac{1}{3}s_{2}+\frac{1}{3})^{2}-s_{2}=0

s_{1},s_{2} \geq 0
\mu_{1},\mu_{2} \geq 0

\mu_{1}s_{1}=0
\mu_{2}s_{2}=0

If that seems a bit unlikely or difficult a second best would be just computing the solution to the original problem which is:

minimise s_{1}^{2}+s_{2}^{2}
such that
(\frac{1}{2}s_{1}+\frac{1}{4}s_{2}+\frac{1}{4})^{5}-s_{1}=0
(\frac{1}{3}s_{1}+\frac{1}{3}s_{2}+\frac{1}{3})^{2}-s_{2}=0

Many thanks,

Peter
 
Mathematics news on Phys.org
Anyone? Thoughts appreciated!
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top