change of the integer vector element for the constraint addition.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | ix(*) |
ix(n) integer vector. |
||
| integer, | intent(in) | :: | i |
index of the changed element. |
||
| integer, | intent(in) | :: | job |
change specification |
pure subroutine mxvinv(ix,i,job) integer,intent(in) :: i !! index of the changed element. integer,intent(in) :: job !! change specification integer,intent(inout) :: ix(*) !! ix(n) integer vector. if ( (ix(i)==3 .or. ix(i)==5) .and. job<0 ) ix(i) = ix(i) + 1 if ( (ix(i)==4 .or. ix(i)==6) .and. job>0 ) ix(i) = ix(i) - 1 ix(i) = -ix(i) end subroutine mxvinv