I have database of shapes, each shape has a color and value.
There are only 6 types of shapes and each shape can be used only once for a combination. Each shape in the database also has a different value, and a different color of shape. There are 8 colors total, each color requires 2 or 4 of the shapes to be that color (ie. blue requires 2 blues and red requires 4 reds). I am trying to build an optimizer to analyze the data to show me the highest value for a combination of shapes that still follow the color requirements.