Monday, September 1, 2008

Conversions of Values Should Precede Checking for Feasibility

Conversions of values should precede checking for feasibility. For example, line 503 and line 504 in the present blog's post "An Integer Programming Computer Program Applied to a Nonlinear Problem with General Integer Variables and Continuous Variables" should become line 461 and line 462, respectively. Then line 461 and line 462 of the same post "An Integer Programming Computer Program Applied to a Nonlinear Problem with General Integer Variables and Continuous Variables" should become line 503 and line 504, respectively.
Also, a candidate solution should be checked to make sure all constraints are satisfied. Then it is a valid candidate solution.