软件大小: | 935 K | ||
上传用户: | jhjfjh22544 | ||
关键词: | optimization toolbox | ||
下载地址: | 免注册下载 普通下载 |
相关代码 |
|
function x = false(x) % FALSE Constrains a variable to be negative % % FALSE(x) returns the constraint set(x % % Example % % SET(FALSE(a)) constrains binary variable a to be 0 (i.e. false) % SET(FALSE(a|b)) constrains binary variables a and b to be 0 (i.e. false) % % See also SDPVAR/TRUE, SDPVAR/AND, SDPVAR/OR, SDPVAR/NOT, BINVAR, BINARY x = set(x