This document is archived and information here might be outdated.  Recommended version.


INALocationAllocationSolver.ProblemType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocationAllocationSolver Interface > INALocationAllocationSolver.ProblemType Property
ArcGIS Developer Help

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 [in]

Value is a parameter of type esriNALocationAllocationProblemType Value [out, retval]
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 Samples

Location-allocation solver ArcGIS Network Analyst extension Engine application