672
673
674
675
676
677
678
679
680
681
682
683
684
685
|
if step == Step::Descent { "*" } else { " " },
self.master.weight(),
self.expected_progress,
self.nxt_mod,
self.nxt_val,
self.cur_val);
}
/**
* Initializes the master problem.
*
* The oracle is evaluated once at the initial center and the
* master problem is initialized with the returned subgradient
* information.
|
>
>
>
>
>
>
>
>
>
>
|
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
|
if step == Step::Descent { "*" } else { " " },
self.master.weight(),
self.expected_progress,
self.nxt_mod,
self.nxt_val,
self.cur_val);
}
/// Return the current center of stability.
pub fn center(&self) -> &[Real] {
&self.cur_y
}
/// Return the last candidate point.
pub fn candidate(&self) -> &[Real] {
&self.nxt_y
}
/**
* Initializes the master problem.
*
* The oracle is evaluated once at the initial center and the
* master problem is initialized with the returned subgradient
* information.
|