momcon.m
来自「GloptiPoly 3: moments, optimization and 」· M 代码 · 共 18 行
M
18 行
function [mceq,mcge] = momcon(P)% @MSDP/MOMCON - Moment constraints of a moment SDP problem%% Given a moment SDP problem P (class MSDP) previously defined by MDEF,% the instruction%% [MCEQ,MCGE] = MOMCON(P)%% returns column vectors MCEQ, MCGE of class MOMCON corresponding% to moment equality constraints MCEQ==0 and moment inequality% constraints MCGE>=0, in an order consistent with the vector of% dual multipliers returned by function MSOL.% D. Henrion, 27 November 2006mceq = (P.mmomceq==0);mcge = (P.mmomcge>=0);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?