Determining optimal disassembly and recovery strategies