Safety is one concern that hinders the acceptance of ridesharing in the general public. Several studies have been conducted on the trust issue in recent years to relieve this concern. The introduction of trust in ridesharing systems provides a pragmatic approach to solving this problem. In this study, we will develop a trust-aware ridesharing recommender system decision model to generate recommendations for drivers and passengers. The requirements of trust for both sides, drivers and passengers, are taken into consideration in the decision model proposed in this paper. The decision model considers the factors in typical ridesharing systems, including vehicle capacities, timing, location and trust requirements, etc. The decision model aims to determine the shared rides that minimize cost while respecting the trust and relevant constraints. As the decision problem is a nonlinear integer programming problem, we combine a self-adaptive neighborhood search with Differential Evolution to develop an algorithm to solve it. To assess the effectiveness of the proposed algorithm, several other evolutionary computation approaches are also applied to solve the same problem. The effectiveness assessment is done based on the performance of applying different algorithms to find solutions for test cases, to provide a guideline for selecting a proper solution approach.