Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 889 Bytes
using Route4MeSDK.DataTypes;
using Route4MeSDK.QueryTypes;
using System;
namespace Route4MeSDK.Examples
{
public sealed partial class Route4MeExamples
{
public void RemoveOptimization(string[] optimizationProblemIDs)
{
// Create the manager with the api key
Route4MeManager route4Me = new Route4MeManager(c_ApiKey);
// Run the query
string errorString;
bool removed = route4Me.RemoveOptimization(optimizationProblemIDs, out errorString);
Console.WriteLine("");
if (removed)
{
Console.WriteLine("RemoveOptimization executed successfully");
foreach (string optid in optimizationProblemIDs)
{
Console.WriteLine("Removed Optimization Problem ID: {0}", optid);
}
}
else
{
Console.WriteLine("RemoveOptimization error: {0}", errorString);
}
}
}
}
You can’t perform that action at this time.