msedumi.m

来自「GloptiPoly 3: moments, optimization and 」· M 代码 · 共 15 行

M
15
字号
function [A,b,c,K,b0,s] = msedumi(P)% @MSDP/MSEDUMI - Convert moment SDP problem to SeDuMi input format%% [A,b,c,K,b0,s] = MSEDUMI(P) translates a moment SDP problem P built with MDEF% into the SeDuMi input format A,b,c,K%% The SDP problem is in SeDuMi dual format% b0 + max s*b'*y s.t. z = c-A'*y \in K% where b0 is a constant shift and s = +1 or -1% D. Henrion, 5 August 2004% Last modified on 16 December 2006A = P.A'; b = P.b'; c = P.c; K = P.K; b0 = P.objshift; s = P.objsign;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?