ArcObjects Library Reference (NetworkAnalyst)  

INALocationAllocationSolver.ProblemType Property

Specifies which location-allocation problem type to solve.

[Visual Basic .NET]
Public Property ProblemType As esriNALocationAllocationProblemType
[C#]
public esriNALocationAllocationProblemType ProblemType {get; set;}
[C++]
HRESULT get_ProblemType(
  esriNALocationAllocationProblemType* Value
);
[C++]
HRESULT put_ProblemType(
  esriNALocationAllocationProblemType Value
);
[C++]

Parameters

Value [out, retval]

  Value is a parameter of type esriNALocationAllocationProblemType

Value [in]

  Value is a parameter of type esriNALocationAllocationProblemType

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

ProblemType specifies the type of problem to be solved by the NALocationAllocationSolver.

The choices for the problem type are available via the enum esriNALocationAllocationProblemType are MinimizeWeightedImpedance, MaximizeCoverage, MaximizeCoverageMinimizeFacilities, MaximizeAttendance, MaximizeMarketShare,  and TargetMarketShare. This property sets or gets the problem type for the NALocationAllocationSolver.

See Also

INALocationAllocationSolver Interface

.NET Snippets

Set Location Allocation Properties |

.NET Samples

Location-allocation solver (Code Files: frmLocationAllocationSolver) | Network Analyst Engine application (Code Files: frmNALayerProperties) |