10 lines
189 B
Mathematica
10 lines
189 B
Mathematica
|
|
function F = colon(F,tag)
|
||
|
|
% COLON Overloaded
|
||
|
|
|
||
|
|
% Allows the syntax (x>=0):Tag in order to give names/descriptions to
|
||
|
|
% constraints
|
||
|
|
|
||
|
|
for i = 1:length(F.ConstraintID)
|
||
|
|
F.tag{i} = tag;
|
||
|
|
end
|
||
|
|
|