Put in your skills, facilities available, and minerals required (Eventually you'll be able to save skills, if desired) and you'll get back the compressed ores which best fit that set. The maximum extra is so you can limit the overage on Ores. -1 means 'as much as you have to'