HERE-API FindSequence错误:";之前的约束:必须参考不同的航路点;

HERE-API FindSequence错误:";之前的约束:必须参考不同的航路点;,here-api,Here Api,我正在使用FindSequence API优化具有多个航路点的路线 START -> destination1 -> destination2 -> ... -> destination9 -> destination10 -> END 简单优化正在按预期工作。但是,一旦我开始向航路点添加之前的约束:约束,它就开始意外地失败(有时工作,但大部分时间失败),并出现以下错误: {'errors': ['constraint before: must refer

我正在使用FindSequence API优化具有多个航路点的路线

START -> destination1 -> destination2 -> ... -> destination9 -> destination10 -> END
简单优化正在按预期工作。但是,一旦我开始向航路点添加
之前的约束:
约束,它就开始意外地失败(有时工作,但大部分时间失败),并出现以下错误:

{'errors': ['constraint before: must refer to a different waypoint Error ID: '
        '2832b49e-a19b-4703-ac8b-c1bb8dd1effd'],
 'processingTimeDesc': None,
 'requestId': None,
 'responseCode': '400',
 'results': None,
 'warnings': None}
我的有效载荷是:

{'app_code': 'REDACTED', 'app_id': 'REDACTED', 
'start': '19.23234,72.23234', 
'end': '19.23234.23234', 
'mode': 'fastest;car;traffic:disabled;', 
'departure': '2018-08-30T05:49:58+00:00'
}
航路点如下:

&destination0=19.0494607,72.82537809999997;before:destination10;
&destination1=19.0721489,72.83006410000007;before:destination10;
&destination2=19.087006,72.83803060000002;before:destination10;
&destination3=19.0790565,72.83579420000001;before:destination10;
&destination4=19.0947793,72.83986809999999;before:destination10;
&destination5=19.12734099999999,72.844066;before:destination10;
&destination6=19.1377862,72.82604549999996;before:destination10;
&destination7=19.1385826,72.82376950000003;before:destination10;
&destination8=19.1383236,72.82696869999995;before:destination10;
&destination9=19.1365928,72.8279202;before:destination10;
&destination10=19.0512729,72.82387169999993
以下是完整的url(只需替换应用程序ID和应用程序代码的值):


我如何着手解决这个问题,因为这是我们业务的主要用例。我们的交付路线绝对需要考虑各航路点之间的部分顺序。任何帮助都将不胜感激^_^

感谢您提醒我们注意这一点。我们在WSE中发现了一个问题,即如果航路点的数量超过ca 8(可能取决于实际参数设置),则使用“before:”-约束。问题已解决,将于本周提交CIT,可能在下周末提交珠三角。

感谢您的回复。虽然我们确实开始使用或工具来满足我们的需求,但我们仍然希望在这里再尝试一次航路点优化!下周将对此进行测试:)
https://wse.api.here.com/2/findsequence.json?app_code=REDACTED&app_id=REDACTED&start=19.23234%2C72.23234&end=19.23234%2C72.23234&mode=fastest%3Bcar%3Btraffic%3Adisabled%3B&departure=2018-08-30T05%3A49%3A58%2B00%3A00&destination0=19.0494607%2C72.82537809999997%3Bbefore%3Adestination10%3B&destination1=19.0721489%2C72.83006410000007%3Bbefore%3Adestination10%3B&destination2=19.087006%2C72.83803060000002%3Bbefore%3Adestination10%3B&destination3=19.0790565%2C72.83579420000001%3Bbefore%3Adestination10%3B&destination4=19.0947793%2C72.83986809999999%3Bbefore%3Adestination10%3B&destination5=19.12734099999999%2C72.844066%3Bbefore%3Adestination10%3B&destination6=19.1377862%2C72.82604549999996%3Bbefore%3Adestination10%3B&destination7=19.1385826%2C72.82376950000003%3Bbefore%3Adestination10%3B&destination8=19.1383236%2C72.82696869999995%3Bbefore%3Adestination10%3B&destination9=19.1365928%2C72.8279202%3Bbefore%3Adestination10%3B&destination10=19.0512729%2C72.82387169999993