title: Back-calculating primal solutions from solutions to the dual (linear programming, Stata)
body: <p>I am doing a simple linear programming data-envelopment analysis in Stata using the &quot;dea&quot; command. I'm analyzing banking institutions in Nepal.</p>
  <p>The command returns the efficiencies of the banks themselves (which is great), and the input / output slacks. I don't really want the slacks as much as I want the coefficients in the primal problem. This package will not give them to me. Is there a way to take the efficiencies and the slacks and back-calculate the solution to the primal?</p>
  <p>Here are some example results, where <code>theta</code> is the objective function to be minimzed</p>
  <pre><code>DMU     theta
  A   0.433222
  B   0.364481
  C   1
  D   0.75502
  </code></pre>
  <p>And the slacks:</p>
  <pre><code>DMU inSlack1    inSlack2    inSlack3    inSlack4    outSlack
  A   0           0           0.419444    0           1.17732 
  B   0           0           5.91197     5.24498     0
  C   0           0           0           0           0
  D   0           3.14159     0.87541     0           0
  </code></pre>