gtopt/element_context.hpp file

Provides a context for interacting with elements within a SystemLP.

This module defines the ElementContext class, which serves as an interface for managing and accessing elements in a linear programming model of a system. It simplifies element creation, retrieval, and indexing by forwarding calls to the underlying SystemLP type.

Namespaces

namespace gtopt

Classes

template<typename SystemLP_Type SystemLP_Type>
class gtopt::ElementContext
Provides a context for interacting with elements within a SystemLP.