I'm just getting started with Solver Foundation and could use a nudge int the right direction. I'm an experienced programmer.
Our problem is Level Of Repair. For a given collection of parts, where do parts get repaired based on cost and availability. Minimize cost maximize availability.
I've looked through the examples but was wondering if anyone could fill in the blanks here for a deicision where to repair a single item,ignoring availability for now. I'm trying to model levelOne with a cost of 5000 and levelTwo with a cost of 6000 and
have the solver choose which one is cheaper.
Decision levelOne = new Decision(Domain.RealRange(5000,5000), "levelOne");
Decision levelTwo = new Decition(Domain.RealRange(6000,6000), "levelTwo");
model.AddGoal("goal", GoalKind.Minimize, ??);
Is the Domain.RealRange where I am going wrong? Do I need to be using Domain.Set instead to define the possibilities?