Research Article
A Heuristic Algorithm for Resource Allocation/Reallocation Problem
Algorithm 1
DPH algorithm for MMKP.
| Notation: | | : current objective function value | | : new objective function value | | : current solution vector | | : new solution vector | | initial value: | | : zero valued vectors | | : zero | | k: 1 (iteration) | | Step 1: For to do begin | | , | | , | | | | end for | | do begin | | | | Step 2: For our convenience convert | | , | | , | | | | For to do begin | | Step 3: Intercept matrix | | Step 4: Redundant variables | | , | | , | | | | Step 5: Dominant variable s | | , | | | | if | | then | | , | | , | | | | else | | , | | | | end if | | end for | | while | | Display and . |
|