freebsd-ports/math/sedumi/files/patch-posttransfo.m
Maho Nakata 0b65a65c72 Add math/sedumi
SeDuMi is a software package to solve optimization problems over symmetric
cones. This includes linear, quadratic, second order conic and semidefinite
optimization, and any combination of these.

WWW: http://sedumi.mcmaster.ca/
2008-10-06 03:06:17 +00:00

11 lines
335 B
Matlab

--- posttransfo.m~ 2008-10-06 10:55:23.000000000 +0900
+++ posttransfo.m 2008-10-06 11:04:36.000000000 +0900
@@ -83,7 +83,7 @@
% Postprocess the SDP part
% ----------------------------------------
if pars.sdp==1 && isfield(prep,'sdp')
- xpf(1:K.f,1)=xp(1:K.f);
+ xpf=xp(1:K.f);
xp=xp(K.f+1:end);
Kf=K.f;
K.f=0;