Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::SortedSubsetSums Class Reference

Detailed Description

Definition at line 679 of file util.h.

#include <util.h>

Public Member Functions

absl::Span< const int64_t > Compute (absl::Span< const int64_t > elements, int64_t maximum_sum, bool abort_if_maximum_reached=false)
absl::Span< const int64_t > SortedSums () const

Member Function Documentation

◆ Compute()

absl::Span< const int64_t > operations_research::sat::SortedSubsetSums::Compute ( absl::Span< const int64_t > elements,
int64_t maximum_sum,
bool abort_if_maximum_reached = false )

Definition at line 868 of file util.cc.

◆ SortedSums()

absl::Span< const int64_t > operations_research::sat::SortedSubsetSums::SortedSums ( ) const
inline

Definition at line 698 of file util.h.


The documentation for this class was generated from the following files: