![]() ![]() problem ( x1, x2, # variables of the problem x1 ** 2 + 2 * x2, # single expression is taken as the objective function x1 + 3 * x2 >= 4, # one or more constraints name = 'myexample' ) # problem name (optional) p. With just a few lines of code: import xpress as xp x1 = xp. ![]() Create and solve Mathematical Optimization problems like the following: min x1^2 + 2 x2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |