I am doing optimal design. I have 57 runs that represent the locations of sensors. There is a factor called the Penalty factor. (not a constant factor) that is calculated based on the distances between the sensors (each sensor represents a row in the matrix). This factor should be updated after each iteration. I need to calculate the penalty factor only of the subset rows "chosen rows" (for example, 20 in my problem). The distances are expressed in a separate worksheet.
I hope my problem is clear enough! Please, let me know if there is any question!