mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
rm dead code
This commit is contained in:
parent
c6be67bf3b
commit
13549aff66
|
@ -20,7 +20,6 @@ z3_add_component(lp
|
||||||
lp_core_solver_base.cpp
|
lp_core_solver_base.cpp
|
||||||
lp_primal_core_solver.cpp
|
lp_primal_core_solver.cpp
|
||||||
lp_settings.cpp
|
lp_settings.cpp
|
||||||
lp_utils.cpp
|
|
||||||
matrix.cpp
|
matrix.cpp
|
||||||
mon_eq.cpp
|
mon_eq.cpp
|
||||||
monomial_bounds.cpp
|
monomial_bounds.cpp
|
||||||
|
|
|
@ -618,8 +618,6 @@ public:
|
||||||
|
|
||||||
void print_bound_info_and_x(unsigned j, std::ostream & out);
|
void print_bound_info_and_x(unsigned j, std::ostream & out);
|
||||||
|
|
||||||
unsigned solve_with_tableau();
|
|
||||||
|
|
||||||
bool basis_column_is_set_correctly(unsigned j) const {
|
bool basis_column_is_set_correctly(unsigned j) const {
|
||||||
return this->m_A.m_columns[j].size() == 1;
|
return this->m_A.m_columns[j].size() == 1;
|
||||||
|
|
||||||
|
|
|
@ -315,11 +315,6 @@ template <typename T, typename X> unsigned lp_primal_core_solver<T, X>::get_num
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// returns the number of iterations
|
|
||||||
template <typename T, typename X> unsigned lp_primal_core_solver<T, X>::solve() {
|
|
||||||
TRACE("lar_solver", tout << "solve " << this->get_status() << "\n";);
|
|
||||||
return solve_with_tableau();
|
|
||||||
}
|
|
||||||
|
|
||||||
// calling it stage1 is too cryptic
|
// calling it stage1 is too cryptic
|
||||||
template <typename T, typename X> void lp_primal_core_solver<T, X>::find_feasible_solution() {
|
template <typename T, typename X> void lp_primal_core_solver<T, X>::find_feasible_solution() {
|
||||||
|
|
|
@ -87,7 +87,8 @@ template <typename T, typename X> void lp_primal_core_solver<T, X>::advance_on_e
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, typename X>
|
template <typename T, typename X>
|
||||||
unsigned lp_primal_core_solver<T, X>::solve_with_tableau() {
|
unsigned lp_primal_core_solver<T, X>::solve() {
|
||||||
|
TRACE("lar_solver", tout << "solve " << this->get_status() << "\n";);
|
||||||
init_run_tableau();
|
init_run_tableau();
|
||||||
if (this->current_x_is_feasible() && this->m_look_for_feasible_solution_only) {
|
if (this->current_x_is_feasible() && this->m_look_for_feasible_solution_only) {
|
||||||
this->set_status(lp_status::FEASIBLE);
|
this->set_status(lp_status::FEASIBLE);
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*++
|
|
||||||
Copyright (c) 2017 Microsoft Corporation
|
|
||||||
|
|
||||||
Module Name:
|
|
||||||
|
|
||||||
<name>
|
|
||||||
|
|
||||||
Abstract:
|
|
||||||
|
|
||||||
<abstract>
|
|
||||||
|
|
||||||
Author:
|
|
||||||
|
|
||||||
Lev Nachmanson (levnach)
|
|
||||||
|
|
||||||
Revision History:
|
|
||||||
|
|
||||||
|
|
||||||
--*/
|
|
||||||
#include "math/lp/lp_utils.h"
|
|
||||||
#ifdef lp_for_z3
|
|
||||||
namespace lp {
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in a new issue