Skip to main content
2 of 3
deleted 56 characters in body
Fusho
  • 171
  • 6

Without more information about f and g, this problem is NP-hard to solve. The topic is quite broad, check the family of Branch and Bound algorithms, depending of additional information you can do better than NP-hard, in particular, it makes use of monotonicity to guide its search.

Fusho
  • 171
  • 6