Forward and inverse surrogate modeling of computationally expensive problems by