Non-linear programming problems in Excel

fboehlandt

Active Member
Joined
Sep 9, 2008
Messages
334
Hi everyone,
I'm currently working on an optimization problem with equaliy and inequality constraints. The objective is to minimize the sum of squares in a multifactor regression model where the coefficients are subject to the following constraints:
- sum of coefficients = 1 (equality constraint)
- non-negativity (inequality constraint)
I calculated the coefficients using both Solver as well as the Karush-Kuhn-Tucker algorithm to find the solution to this non-linear programming problem. The latter method requires some extensive calculations with matrices. Unfortunately, the resulting coefficients differ with respect to the third position after the decimal point. I was wondering if this might be attributable to some lack of precision when multiplying large matrices in Excel, a different approach by Solver optimizing non-linear functions, or whether I'm making some crucial mistake calulating the coefficients manually. Does anybody have any experience solving non-linear programming problems manually?
p.s. I will gladly provide my model calculations if required
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,215,228
Messages
6,123,747
Members
449,118
Latest member
kingjet

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top