mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
add detection of non-fixed variables to consequence finding
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7562efbe84
commit
cb2d8d2107
10 changed files with 188 additions and 25 deletions
|
@ -197,6 +197,34 @@ extern "C" {
|
|||
*/
|
||||
Z3_string Z3_API Z3_optimize_to_string(Z3_context c, Z3_optimize o);
|
||||
|
||||
/**
|
||||
\brief Parse an SMT-LIB2 string with assertions,
|
||||
soft constraints and optimization objectives.
|
||||
Add the parsed constraints and objectives to the optimization context.
|
||||
|
||||
\param c - context.
|
||||
\param o - optimize context.
|
||||
\param s - string containing SMT2 specification.
|
||||
|
||||
def_API('Z3_optimize_from_string', VOID, (_in(CONTEXT), _in(OPTIMIZE), _in(STRING)))
|
||||
*/
|
||||
void Z3_API Z3_optimize_from_string(Z3_context c, Z3_optimize o, Z3_string s);
|
||||
|
||||
|
||||
/**
|
||||
\brief Parse an SMT-LIB2 file with assertions,
|
||||
soft constraints and optimization objectives.
|
||||
Add the parsed constraints and objectives to the optimization context.
|
||||
|
||||
|
||||
\param c - context.
|
||||
\param o - optimize context.
|
||||
\param s - string containing SMT2 specification.
|
||||
|
||||
def_API('Z3_optimize_from_file', VOID, (_in(CONTEXT), _in(OPTIMIZE), _in(STRING)))
|
||||
*/
|
||||
void Z3_API Z3_optimize_from_file(Z3_context c, Z3_optimize o, Z3_string s);
|
||||
|
||||
|
||||
/**
|
||||
\brief Return a string containing a description of parameters accepted by optimize.
|
||||
|
@ -218,4 +246,4 @@ extern "C" {
|
|||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue