This preview shows page 1. Sign up to view the full content.
Unformatted text preview: COSTtest= cost(stest); if COSTtest<COSTbest COSTbest= COSTtest; COSTnew= COSTtest; snew= stest; sbest= snew; end solution(i,1)= i; solution(i,2)= snew; solution(i,3)= sbest; solution(i,4)= COSTnew; solution(i,5)= COSTbest; end else display('s not in valid range'); end...
View Full Document
This note was uploaded on 10/02/2011 for the course ORIE 5430 taught by Professor Shoemaker during the Fall '11 term at Cornell University (Engineering School).
- Fall '11