Revenue management of flexible products