3#include <clingo/input/program.hh>
5namespace CppClingo::Input {
41 friend auto operator<<(std::ostream &out,
IE const &ie) -> std::ostream &;
55 enum Type : uint8_t { Lower, Upper };
59 IEInterval(std::optional<Number> lower, std::optional<Number> upper)
60 : lower_{std::move(lower)}, upper_{std::move(upper)} {}
89 std::optional<Number> lower_;
91 std::optional<Number> upper_;
120 auto update_bound_(
IETerm const &term,
Number slack,
size_t num_unbounded) -> bool;
124 auto update_slack_(
IETerm const &term,
Number &slack) -> bool;
Simple logger to report message to stderr or via a callback.
Definition logger.hh:63
An arbitrary precision integer.
Definition number.hh:27
Reference to a string stored in a symbol store.
Definition symbol.hh:18
tsl::ordered_map< Key, T, Hash, KeyEqual, Allocator, ValueTypeContainer, IndexType > ordered_map
Alias for ordered maps.
Definition ordered_map.hh:16