func Interface

interface
private subroutine func(me, x, f, c)

Arguments

Type IntentOptional Attributes Name
class(slsqp_solver), intent(inout) :: me
real(kind=wp), intent(in), dimension(:) :: x

optimization variable vector

real(kind=wp), intent(out) :: f

value of the objective function

real(kind=wp), intent(out), dimension(:) :: c

the constraint vector dimension(m), equality constraints (if any) first.

Description

for computing the function