C++ Reference: class LinearExpr

This documentation is automatically generated.

Method
LinearExpr

LinearExpr

Arguments: double constant

Possible implicit conversions are intentional.

LinearExpr

Arguments: const MPVariable* var

NotVar

Return type: static LinearExpr

Arguments: LinearExpr var

offset

Return type: double

SolutionValue

Return type: double

terms

Return type: const absl::flat_hash_map<const MPVariable*, double>&

ToString

Return type: std::string