Discontinuation of monetary cost optimization (v2.30!)

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Discontinuation of monetary cost optimization (v2.30!)

Post by Bernd Welter »

Hi there,

Just wanted to let you know that we decided to discontinue the monetary cost minimization - it will be unavailable from v2.30. Here's the official statement which is also mentioned in the release notes of v2.29:
Discontinuation: Please note that from the next release on the monetary cost minimization will no longer be supported. The quality of the function did not meet our requirements and therefore it unfortunately has to be removed again. We are working on a follow-up solution.
Some sidenote from me:
:!: Once we installed the v2.30 in the XServer Internet cloud you will run into an error message if your request tries to set the com.ptvgroup.xserver.xtour.PlanToursOptions.enableMonetaryCostMinimization=TRUE.

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Discontinuation of monetary cost optimization (v2.30!)

Post by Bernd Welter »

ANd here's what you'll see with v2.30 :

Code: Select all

{
  "ClassName": "System.Web.Services.Protocols.SoapException",
  "Message": "Monetary cost minimization is no longer supported.",
  "Data": {
    "code": {
      "Namespace": "http://www.w3.org/2003/05/soap-envelope",
      "Name": "Receiver",
      "IsEmpty": false
    },
    "actor": "",
    "role": "",
    "subCode": null,
    "lang": ""
  },
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n   
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n   
  at XServer2.XTour.fetchToursResponse(JobRequest request) in C:\\ptv-xserver\\PARTNER\\202201-DaytimeDima\\XServer-2.28.cs:line 43743\r\n   
  at DaytimeDIma.Form1.btnPlanTours_Click(Object sender, EventArgs e) 
  in C:\\ptv-xserver\\PARTNER\\202201-DaytimeDima\\DaytimeDIma\\Form1.cs:line 691",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8\nReadResponse\nSystem.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\nSystem.Web.Services.Protocols.SoapHttpClientProtocol\nSystem.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)",
  "HResult": -2146233087,
  "Source": "System.Web.Services",
  "WatsonBuckets": null
}
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Discontinuation of monetary cost optimization (v2.30!)

Post by Bernd Welter »

Here's an alternative representation of the error message - it's raw JSON response.

Code: Select all

{
  "faultInfo": {
    "$type": "InvalidValueFault",
    "hint": "Do not use monetary cost minimization.",
    "parameter": "/planToursRequest/tourRequestOptions/@enableMonetaryCostMinimization",
    "value": "true"
  },
  "message": "Monetary cost minimization is no longer supported."
}
Demonstrated on my laptop with v2.31.
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply