Mixed integer optimization problem
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I wish to examine cantileverVolume.m and cantileverConstraints.m to see how the fitness and constraint functions are implemented. Are the complete codes for these two files available? Where can I find them?
Are my following definitions and examples correct?
a) Integer number means numbers without decimal points eg. -3,-2,-1,0,1,2,3 etc
b) Real number is also called continuous number and is also called discrete number which means numbers with decimal points e.g -3.123, -2.123, 1.456, 2.456 etc
0 Kommentare
Akzeptierte Antwort
Matt J
am 1 Nov. 2012
Bearbeitet: Matt J
am 1 Nov. 2012
a) Integer number means numbers without decimal points eg. -3,-2,-1,0,1,2,3 etc
Yes.
b) Real number is also called continuous number and is also called discrete number which means numbers with decimal points e.g -3.123, -2.123, 1.456, 2.456 etc
A real number is a number whos square is non-negative,
>> arealnumber=-3, (arealnumber)^2
arealnumber =
-3
ans =
9
>> notarealnumber=i, (notarealnumber)^2
notarealnumber =
0 + 1.0000i
ans =
-1
0 Kommentare
Weitere Antworten (1)
Alan Weiss
am 1 Nov. 2012
If you have a recent version of Global Optimization Toolbox, these files are in your distribution. Enter
edit cantileverConstraints
to see the file.
Alan Weiss
MATLAB mathematical toolbox documentation
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!