Class CGInfo

java.lang.Object
de.labathome.trustconstr.records.CGInfo

public class CGInfo extends Object
Result of a projected-CG inner solve from QPSubproblem.projectedCG(de.labathome.trustconstr.interfaces.LinearOperator, de.labathome.trustconstr.matrix.Matrix, java.lang.Object, java.lang.Object, de.labathome.trustconstr.matrix.Matrix). Carries the solution vector, iteration count, why CG terminated, optionally the full iterate trajectory, and a flag indicating whether the proposed step landed on the trust-region boundary.
  • Field Details

    • x

      public Matrix x
      Solution vector of the EQP problem (n x 1).
    • niter

      public int niter
      Number of CG iterations performed.
    • stopCond

      public PCGStoppingCondition stopCond
      Why CG terminated (residual met tolerance, hit boundary, etc.).
    • allVecs

      public List<Matrix> allVecs
      All intermediate iterates, when returnAll=true; otherwise null.
    • hitsBoundary

      public boolean hitsBoundary
      true iff the returned step lies on the trust-region boundary.
  • Constructor Details

    • CGInfo

      public CGInfo()