A FPTAS for a class of linear multiplicative problems