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

merge LRA

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-05-09 10:46:11 -07:00
parent 085d31dca2
commit 911b24784a
120 changed files with 23069 additions and 15 deletions

View file

@ -0,0 +1,23 @@
/*
Copyright (c) 2017 Microsoft Corporation
Author: Lev Nachmanson
*/
#pragma once
#include "util/lp/lp_settings.h"
#include "util/lp/lar_constraints.h"
namespace lean {
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_low_bound;}
bool at_low_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_low_bound;
X m_bound;
};
}