--------------------------------'</span>);
disp(<span class="string">'The optimal value of the Lagrange dual and the SDP relaxation fo the    '</span>);
disp(<span class="string">'two-way partitioning problem are, respectively, '</span>);
disp([opt1 opt2])
disp(<span class="string">'They are equal as expected!'</span>);
</pre>
<a id="output"></a>
<pre class="codeoutput">
Solving the dual of the two-way partitioning problem... 
Calling SDPT3 4.0: 55 variables, 10 equality constraints
   For improved efficien