Currently, we require discrete data to be mapped to a function to be embedded in InfiniteOpt (e.g., via parameter functions or start values). A typical workflow is taking discrete data, making it continuous via interpolation, and then give it to InfiniteOpt where it will eventually be discretized again. It is a common use case for the discretization of the data to match what will be ultimately used to solve the problem (especially for resolves). Hence, it would be useful to have an object to lazily embed discrete data and only discretize if completely necessary.
Currently, we require discrete data to be mapped to a function to be embedded in InfiniteOpt (e.g., via parameter functions or start values). A typical workflow is taking discrete data, making it continuous via interpolation, and then give it to InfiniteOpt where it will eventually be discretized again. It is a common use case for the discretization of the data to match what will be ultimately used to solve the problem (especially for resolves). Hence, it would be useful to have an object to lazily embed discrete data and only discretize if completely necessary.