Equips pilots based on mixed integer linear programming.
|optimize (p[, cores=nil], outfit_list[, params=nil])||Equips a pilot with cores and outfits chosen from a list through optimization.|
- optimize (p[, cores=nil], outfit_list[, params=nil])
Equips a pilot with cores and outfits chosen from a list through optimization.
- p Pilot Pilot to equip.
- cores table or nil Table of core outfits (by name) to equip. They will replace existing outfits, or set to nil to use defaults. (default nil)
- outfit_list table List of outfits to try to equip (by name). There can be duplicates in the list, and only outfits that can be equipped are considered.
- params table or nil Parameter list to use or nil for defaults. (default nil)
Whether or not the pilot was properly equipped