mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
41 lines
717 B
C++
41 lines
717 B
C++
/*++
|
|
Copyright (c) 2017 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
<name>
|
|
|
|
Abstract:
|
|
|
|
<abstract>
|
|
|
|
Author:
|
|
Nikolaj Bjorner (nbjorner)
|
|
Lev Nachmanson (levnach)
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
#pragma once
|
|
#include "util/vector.h"
|
|
#include "util/lp/lp_settings.h"
|
|
#include "util/rlimit.h"
|
|
#include "util/params.h"
|
|
#include "nlsat/nlsat_solver.h"
|
|
#include "util/lp/lar_solver.h"
|
|
namespace niil {
|
|
// nonlinear integer incremental linear solver
|
|
class solver {
|
|
public:
|
|
struct imp;
|
|
imp* m_imp;
|
|
void add_monomial(lp::var_index v, unsigned sz, lp::var_index const* vs);
|
|
solver(lp::lar_solver& s, reslimit& lim, params_ref const& p);
|
|
|
|
imp* get_imp();
|
|
void push();
|
|
void pop(unsigned scopes);
|
|
};
|
|
}
|