FICO
FICO Xpress Optimization Examples Repository
FICO Optimization Community FICO Xpress Optimization Home
Back to examples browserPrevious exampleNext example

Blend: A model for mineral blending

Description
Several ores are blended to a final product that must have a certain quality ('grade'). We wish to determine the quantity of every ore to be used in the blend with the objective to maximize the total profit (calculated as sales revenues - raw material cost).

Further explanation of this example: 'Xpress Python Reference Manual'

blend_python.zip[download all files]

Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
blend.py[download]
blend2.py[download]

Data Files





blend_data.py

# Data file for 'blend.py'
COST = [85, 93]
AVAIL = [60, 45]
GRADE = [2.1, 6.3]

Back to examples browserPrevious exampleNext example