3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-16 13:58:45 +00:00
z3/src/opt/maxlex.h
Nikolaj Bjorner d0e20e44ff booyah
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 15:56:30 -07:00

31 lines
427 B
C++

/*++
Copyright (c) 2014 Microsoft Corporation
Module Name:
maxlex.h
Abstract:
MaxLex solves weighted max-sat problems where weights impose lexicographic order.
Author:
Nikolaj Bjorner (nbjorner) 2019-25-1
Notes:
--*/
#pragma once
namespace opt {
bool is_maxlex(weights_t & ws);
maxsmt_solver_base* mk_maxlex(maxsat_context& c, unsigned id, weights_t & ws, expr_ref_vector const& soft);
};