Home
last modified time | relevance | path

Searched refs:active_lower (Results 1 – 5 of 5) sorted by relevance

/petsc/src/tao/bound/utils/
H A Disutil.c184 …XU, Vec G, Vec S, Vec W, PetscReal steplen, PetscReal *bound_tol, IS *active_lower, IS *active_upp… in TaoEstimateActiveBounds() argument
228 PetscCall(ISDestroy(active_lower)); in TaoEstimateActiveBounds()
293 PetscCall(ISCreateGeneral(comm, n_isl, isl, PETSC_OWN_POINTER, active_lower)); in TaoEstimateActiveBounds()
344 PetscErrorCode TaoBoundStep(Vec X, Vec XL, Vec XU, IS active_lower, IS active_upper, IS active_fixe… in TaoBoundStep() argument
352 if (active_lower) { in TaoBoundStep()
353 PetscCall(VecGetSubVector(S, active_lower, &step_lower)); in TaoBoundStep()
354 PetscCall(VecGetSubVector(X, active_lower, &x_lower)); in TaoBoundStep()
355 PetscCall(VecGetSubVector(XL, active_lower, &bound_lower)); in TaoBoundStep()
359 PetscCall(VecRestoreSubVector(S, active_lower, &step_lower)); in TaoBoundStep()
360 PetscCall(VecRestoreSubVector(X, active_lower, &x_lower)); in TaoBoundStep()
[all …]
/petsc/src/tao/bound/impls/bncg/
H A Dbncg.h18 …IS active_lower, active_upper, active_fixed, active_idx, inactive_idx, inactive_old, new_inactives; member
H A Dbncg.c34 …unprojected_gradient, cg->W, cg->work, cg->as_step, &cg->as_tol, &cg->active_lower, &cg->active_up… in TaoBNCGEstimateActiveSet()
52 …PetscCall(TaoBoundStep(tao->solution, tao->XL, tao->XU, cg->active_lower, cg->active_upper, cg->ac… in TaoBNCGBoundStep()
164 PetscCall(ISDestroy(&cg->active_lower)); in TaoDestroy_BNCG()
/petsc/src/tao/bound/impls/bnk/
H A Dbnk.h30 IS inactive_idx, active_idx, active_lower, active_upper, active_fixed; member
H A Dbnk.c332 …ected_gradient, bnk->W, bnk->Xwork, bnk->as_step, &bnk->as_tol, &bnk->active_lower, &bnk->active_u… in TaoBNKEstimateActiveSet()
354 …PetscCall(TaoBoundStep(tao->solution, tao->XL, tao->XU, bnk->active_lower, bnk->active_upper, bnk-… in TaoBNKBoundStep()
1031 bnk->active_lower = NULL; in TaoSetUp_BNK()
1054 PetscCall(ISDestroy(&bnk->active_lower)); in TaoDestroy_BNK()