mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
31 lines
411 B
C++
31 lines
411 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(vector<soft> const & ws);
|
|
|
|
maxsmt_solver_base* mk_maxlex(maxsat_context& c, unsigned id, vector<soft>& soft);
|
|
|
|
|
|
};
|
|
|