AIP Conference Proceedings [Author(s) PROCEEDINGS OF THE 43RD INTERNATIONAL CONFERENCE APPLICATIONS OF MATHEMATICS IN ENGINEERING AND ECONOMICS: (AMEE’17) - Sozopol, Bulgaria (8–13 June 2017)] - Modeling of the optimal programs dependence on bodies geometric constraints when moving in a viscous medium