Optimize Periodic Functions on the Integers
Version 12 provides functionality for solving several new classes of optimization problems. This example shows how to solve an optimization problem over the integers using MinValue.
Find the minimum value of a combination of periodic functions with incommensurable periods over the integers.
Visualize the solution.
show complete Wolfram Language input
Maximize a combination of periodic functions with commensurable periods over the integers.
Visualize the solution.
show complete Wolfram Language input