pytc.solver.bug_core.requested_aug_width

pytc.solver.bug_core.requested_aug_width(rank, nocc, nvir, *, aug_k, max_rank=None)[source]

Columns the augmentation selector will ask for at this rank.

A fraction aug_k < 1 has the floor 2(nocc+nvir), which can exceed the fraction; an integer is a count.

Parameters:
  • rank (int)

  • nocc (int)

  • nvir (int)

  • aug_k (float | None)

  • max_rank (int | None)

Return type:

int