RsBundle  Diff

Differences From Artifact [8619ac4b16]:

  • File src/solver/sync.rs — part of check-in [dc7519c331] at 2023-04-28 09:38:46 on branch mpi — solver: do not add `PErr` fields as `#[source]. This causes `Self` to not implement `StdError` if `PErr` does not implement it. (user: fifr size: 33195)

To Artifact [a102277183]:

  • File src/solver/sync.rs — part of check-in [fc8d890eff] at 2023-05-07 17:03:29 on branch mpi — Merge trunk (user: fifr size: 33410) [more...]

654
655
656
657
658
659
660







661
662
663
664
665
666
667
        self.data.new_cutval = self.data.nxt_cutvals.iter().sum::<Real>();

        debug!("Step");
        debug!("  cur_val    ={}", self.data.cur_val);
        debug!("  nxt_mod    ={}", self.data.nxt_mod);
        debug!("  nxt_ub     ={}", nxt_ub);
        debug!("  descent_bnd={}", descent_bnd);








        self.data.updated = false;
        let step;
        if self.data.cur_val.is_infinite() {
            // This is the first evaluation. We effectively get
            // the function value at the current center but
            // we do not have a model estimate yet. Hence, we do not know







>
>
>
>
>
>
>







654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
        self.data.new_cutval = self.data.nxt_cutvals.iter().sum::<Real>();

        debug!("Step");
        debug!("  cur_val    ={}", self.data.cur_val);
        debug!("  nxt_mod    ={}", self.data.nxt_mod);
        debug!("  nxt_ub     ={}", nxt_ub);
        debug!("  descent_bnd={}", descent_bnd);

        if self.data.nxt_mod > nxt_ub + 1e-9 {
            warn!(
                "Function value ({}) in candidate higher than model value ({})",
                nxt_ub, self.data.nxt_mod
            );
        }

        self.data.updated = false;
        let step;
        if self.data.cur_val.is_infinite() {
            // This is the first evaluation. We effectively get
            // the function value at the current center but
            // we do not have a model estimate yet. Hence, we do not know