RsBundle  Diff

Differences From Artifact [d4ff8aafd1]:

  • File src/lib.rs — part of check-in [8d6b894491] at 2016-10-10 14:43:45 on branch trunk — Add `IterationInfo` to update state. (user: fifr size: 1639)

To Artifact [90b5484347]:

  • File src/lib.rs — part of check-in [2bc4277460] at 2016-10-19 07:37:56 on branch trunk — Run `rustfmt` on all sources. (user: fifr size: 1618)

1
2

3
4
5
6
7





8
9
10
11
12





13
14
15
16




17
18
19
20
21
22
23


1





2
3
4
5
6





7
8
9
10
11




12
13
14
15
16
17
18
19
20
21
22
-
-
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+







/*
 * Copyright (c) 2016 Frank Fischer <frank-fischer@shadow-soft.de>
// Copyright (c) 2016 Frank Fischer <frank-fischer@shadow-soft.de>
 *
 * This program is free software: you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
//
// This program is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see  <http://www.gnu.org/licenses/>
 */
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see  <http://www.gnu.org/licenses/>
//

//! Proximal bundle method implementation.

#[macro_use]
extern crate quick_error;
extern crate libc;

43
44
45
46
47
48
49
50

51
52
53
54
55
56
57
58
42
43
44
45
46
47
48

49

50
51
52
53
54
55
56







-
+
-







pub mod minorant;
pub use minorant::Minorant;

pub mod firstorderproblem;
pub use firstorderproblem::{Evaluation, SimpleEvaluation, Update, FirstOrderProblem};

pub mod solver;
pub use solver::{Solver, SolverParams, BundleState, Terminator, StandardTerminator,
pub use solver::{Solver, SolverParams, BundleState, Terminator, StandardTerminator, Weighter, Step, UpdateState, IterationInfo};
                 Weighter, Step, UpdateState, IterationInfo};

mod hkweighter;
pub use hkweighter::HKWeighter;

mod master;

pub mod mcf;