⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpt_detect_and_improve_bounds.m

📁 求解线性矩阵不等式简单方便--与LMI工具箱相比
💻 M
字号:
function [lb,ub,redundant] = detect_and_improve_bounds(Matrices,lb,ub,binary_var_index,options);

A = [ Matrices.G -Matrices.E];
b = [ Matrices.W ];

[global_lower,global_upper,bound_rows] = find_variable_bounds(A,b,[Matrices.Aeq Matrices.Beq],Matrices.beq);
global_lower(binary_var_index) = max(global_lower(binary_var_index),0);
global_upper(binary_var_index) = min(global_upper(binary_var_index),1);

if ~isempty(lb)
    global_lower = max([global_lower lb],[],2);
end
if ~isempty(ub)
    global_upper = min([global_upper ub],[],2);
end

[lb,ub,redundant,psstruct,infeasible] = tightenbounds(A,b,global_lower,global_upper,[],binary_var_index);

⌨️ 快捷键说明

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