Optimizing fire allocation in a NCW-type model