I am attempting to create a model (in Model builder)which will allow me to conduct a maximize target share solution an varying numbers of demand points. My question is, how do you add demand points in a Model? There is an object to, 'Add Locations but not a corresponding one for demand points...at least not that I've found yet:-)
Mark, Add Locations geoprocessing tool is a generic tool that can be used to load features to any sublayers within a network analysis layer. So it is the right tool to load Demand Points into the location-allocation layer. In your model after you use the MakeLocationAllocationLayer tool you need to connect the output layer as input to AddLocations tool. Then you will see the sublayer parameter populated with all the sublayers from the location-allocation layer. Now you can select Demand Points to load your features into demand points. You also need another AddLocations tool in your model to load your Facilities and finally you need the Solve tool.