Instructions for Writing a Blackbox Multiobjective Function for VTMOP_SOLVE

The driver subroutine VTMOP_SOLVE accepts, among other parameters, a Fortran subroutine OBJ_FUNC that implements the blackbox multiobjective cost function F. The interface block for OBJ_FUNC is as follows.

    INTERFACE
       SUBROUTINE OBJ_FUNC(C, V, IERR)
          USE REAL_PRECISION, ONLY : R8
          REAL(KIND=R8), INTENT(IN) :: C(:)
          REAL(KIND=R8), INTENT(OUT) :: V(:)
          INTEGER, INTENT(OUT) :: IERR
       END SUBROUTINE OBJ_FUNC
    END INTERFACE

In the above interface block,