I wanna to find individual values to minimize an outcome in a restriction.
*variables
- fac1, ..., fac15, persion1, con_month
*solutions which I want to get
- `a1', ... , `a15'
*minimize
- absolute value of [fac1*`a1' + ... + fac15*`a15' - pension1]
*restriction
-`a1' + ... + `a15' = con_month
*in each individual
I think that this problem may have multiple solutions and cannot lead to a proper solution.
Very thank you for your notice.
Related Posts with Minimize under a restriction (in each individual)
LoopHello guys, I have a monthly panel data for periods 1996m1 to 2018m12. Using the code below, I have…
3 by 3 Matrix of Count VariablesHi All, I want to create a 3 X 3 matrix from 9 combinations of count variables Sev and Rch. The thr…
problems in state equations of sspaceHi. I'm trying to estimate the natural interest rate. Unfortunately, I have run into the following c…
Match Values between Two VariablesHi Statalisters, I have a sample data and want to match values between different variables. Here ar…
Combining variablesHi I have a question on how to combine multiple variables of the same category into single new varia…
Subscribe to:
Post Comments (Atom)
0 Response to Minimize under a restriction (in each individual)
Post a Comment