75 a_d, zeta, z, m) bind(c, name = 'mma_prepare_aa_matrix_hip')
76 import c_rp, c_int, c_ptr
77 type(c_ptr),
value :: AA_d, s_d, lambda_d, d_d, mu_d, y_d, a_d
78 real(c_rp),
value :: zeta, z
79 integer(c_int),
value :: m
90 subroutine hip_hess(Hess_d, hijx_d, Ljjxinv_d, n, m) bind(c, name = 'hip_Hess')
92 type(c_ptr),
value :: Hess_d, hijx_d, Ljjxinv_d
93 integer(c_int) :: n, m
97 low_d, upp_d, alpha_d, beta_d, n) bind(c, name = 'mma_Ljjxinv_hip')
99 type(c_ptr),
value :: Ljjxinv_d, x_d, pjlambda_d, qjlambda_d, low_d, &
100 upp_d, alpha_d, beta_d
105 upp_d, alpha_d, beta_d, n) bind(c, name = 'mma_dipsolvesub1_hip')
107 type(c_ptr),
value :: x_d, pjlambda_d, qjlambda_d, low_d, &
108 upp_d, alpha_d, beta_d
119 bind(c, name =
'mma_gensub1_hip')
120 import c_rp, c_int, c_ptr
121 type(c_ptr),
value :: low_d, upp_d, x_d, xmin_d, xmax_d
122 real(c_rp) :: asyinit
127 asydecr, asyincr, n) bind(c, name = 'mma_gensub2_hip')
128 import c_rp, c_int, c_ptr
129 type(c_ptr),
value :: low_d, upp_d, x_d, xold1_d, xold2_d, xdiff_d
130 real(c_rp) :: asydecr, asyincr
135 max_d, alpha_d, beta_d, p0j_d, q0j_d, pij_d, qij_d, n, m) &
136 bind(c, name =
'mma_gensub3_hip')
138 type(c_ptr),
value :: x_d, df0dx_d, dfdx_d, low_d, upp_d, min_d, max_d, &
139 alpha_d, beta_d, p0j_d, q0j_d, pij_d, qij_d
140 integer(c_int) :: n, m
145 min_d, max_d, alpha_d, beta_d, p0j_d, q0j_d, pij_d, qij_d, n, m) &
146 bind(c, name =
'mma_gensub3_dip_hip')
148 type(c_ptr),
value :: x_d, df0dx_d, dfdx_d, low_d, upp_d, min_d, max_d, &
149 alpha_d, beta_d, p0j_d, q0j_d, pij_d, qij_d
150 integer(c_int) :: n, m
154 bind(c, name =
'mma_gensub4_hip')
156 type(c_ptr),
value :: x_d, low_d, upp_d, pij_d, qij_d, bi_d
157 integer(c_int) :: n, m
167 subroutine hip_rex(rex_d, x_d, low_d, upp_d, pij_d, p0j_d, qij_d, q0j_d, &
168 lambda_d, xsi_d, eta_d, n, m) bind(c, name = 'hip_rex')
170 type(c_ptr),
value :: rex_d, x_d, low_d, upp_d, pij_d, p0j_d, qij_d, &
171 q0j_d, lambda_d, xsi_d, eta_d
172 integer(c_int) :: n, m
175 subroutine hip_relambda(relambda_d, x_d, upp_d, low_d, pij_d, qij_d, n, &
176 m) bind(c, name = 'hip_relambda')
178 type(c_ptr),
value :: relambda_d, x_d, upp_d, low_d, pij_d, qij_d
179 integer(c_int) :: n, m
183 bind(c, name =
'hip_sub2cons2')
184 import c_rp, c_int, c_ptr
185 type(c_ptr),
value :: rexsi_d, xsi_d, x_d, alpha_d
202 subroutine hip_delx(delx_d, x_d, low_d, upp_d, pij_d, qij_d, p0j_d, &
203 q0j_d, alpha_d, beta_d, lambda_d, epsi, n, m) &
204 bind(c, name =
'hip_delx')
205 import c_rp, c_int, c_ptr
206 type(c_ptr),
value :: delx_d, x_d, low_d, upp_d, pij_d, qij_d, p0j_d, &
207 q0j_d, alpha_d, beta_d, lambda_d
209 integer(c_int) :: n, m
214 subroutine hip_gg(GG_d, x_d, low_d, upp_d, pij_d, qij_d, n, m) &
215 bind(c, name =
'hip_GG')
217 type(c_ptr),
value :: GG_d, x_d, low_d, upp_d, pij_d, qij_d
218 integer(c_int) :: n, m
221 subroutine hip_diagx(diagx_d, x_d, xsi_d, low_d, upp_d, p0j_d, q0j_d, &
222 pij_d, qij_d, alpha_d, beta_d, eta_d, lambda_d, n, m) &
223 bind(c, name =
'hip_diagx')
225 type(c_ptr),
value :: diagx_d, x_d, xsi_d, low_d, upp_d, p0j_d, q0j_d, &
226 pij_d, qij_d, alpha_d, beta_d, eta_d, lambda_d
227 integer(c_int) :: n, m
230 subroutine hip_bb(bb_d, GG_d, delx_d, diagx_d, n, m) &
231 bind(c, name =
'hip_bb')
233 type(c_ptr),
value :: bb_d, GG_d, delx_d, diagx_d
234 integer(c_int) :: n, m
243 subroutine hip_dx(dx_d, delx_d, diagx_d, GG_d, dlambda_d, n, m) &
244 bind(c, name =
'hip_dx')
246 type(c_ptr),
value :: dx_d, delx_d, diagx_d, GG_d, dlambda_d
247 integer(c_int) :: n, m
250 subroutine hip_dxsi(dxsi_d, xsi_d, dx_d, x_d, alpha_d, epsi, n) &
251 bind(c, name =
'hip_dxsi')
252 import c_rp, c_int, c_ptr
253 type(c_ptr),
value :: dxsi_d, xsi_d, dx_d, x_d, alpha_d
258 subroutine hip_deta(deta_d, eta_d, dx_d, x_d, beta_d, epsi, n) &
259 bind(c, name =
'hip_deta')
260 import c_rp, c_int, c_ptr
261 type(c_ptr),
value :: deta_d, eta_d, dx_d, x_d, beta_d
282 subroutine hip_kkt_rex(rex_d, df0dx_d, dfdx_d, xsi_d, eta_d, lambda_d, &
283 n, m) bind(c, name = 'hip_kkt_rex')
285 type(c_ptr),
value :: rex_d, df0dx_d, dfdx_d, xsi_d, eta_d, lambda_d
286 integer(c_int) :: n, m
291 lambda_d, n, m) bind(c, name = 'mma_dip_kkt_hip')
293 type(c_ptr),
value :: res_d, x_d, df0dx_d, dfdx_d, xmin_d, xmax_d, &
295 integer(c_int) :: n, m
333 subroutine hip_updatebb(bb_d, dellambda_d, dely_d, d_d, mu_d, y_d, delz, &
334 m) bind(c, name = 'hip_updatebb')
335 import c_rp, c_int, c_ptr
336 type(c_ptr),
value :: bb_d, dellambda_d, dely_d, d_d, mu_d, y_d
341 subroutine hip_updateaa(AA_d, globaltmp_mm_d, s_d, lambda_d, d_d, mu_d, &
342 y_d, a_d, zeta, z, m) bind(c, name = 'hip_updateAA')
343 import c_rp, c_int, c_ptr
344 type(c_ptr),
value :: AA_d, globaltmp_mm_d, s_d, lambda_d, d_d, mu_d, &
347 real(c_rp) :: zeta, z
350 subroutine hip_dy(dy_d, dely_d, dlambda_d, d_d, mu_d, y_d, n) &
351 bind(c, name =
'hip_dy')
353 type(c_ptr),
value :: dy_d, dely_d, dlambda_d, d_d, mu_d, y_d