3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 12:25:51 +00:00

mv util/lp to math/lp

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-06-03 16:46:19 -07:00
parent b6513b8e2d
commit 33cbd29ed0
150 changed files with 524 additions and 479 deletions

View file

@ -0,0 +1,38 @@
/*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
<name>
Abstract:
<abstract>
Author:
Lev Nachmanson (levnach)
Revision History:
--*/
#pragma once
#include "math/lp/lp_settings.h"
#include "math/lp/lar_constraints.h"
namespace lp {
struct bound_signature {
unsigned m_i;
bool m_at_low;
bound_signature(unsigned i, bool at_low) :m_i(i), m_at_low(m_at_low) {}
bool at_upper_bound() const { return !m_at_lower_bound;}
bool at_lower_bound() const { return m_at_low;}
};
template <typename X>
struct signature_bound_evidence {
vector<bound_signature> m_evidence;
unsigned m_j; // found new bound
bool m_lower_bound;
X m_bound;
};
}