I understand how things work in combat, but not quite in terms of global decision making.
For example, in Civ, at the global level AI has to juggle multiple objectives, e.g. whether to invest money in constructing Building A in City B, or choosing which tech to research, whether to declare war or offer peace to an opponent, etc.
So my question is, what sort of algorithms are used for this? My guess would be something like Gantt chart or numerical solution for an assignment problem that prioritizes jobs.
EDIT: more specifically,
- How do I formulate an optimization problem
- What kind of solution can be used?
For example, a 1) bipartite graph solved by 2) Hungarian method.