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


INALocationAllocationSolver.ProblemType Property (ArcObjects .NET 10.6 SDK)
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 [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 Snippets

Set Location Allocation Properties

.NET Samples

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