/* A few tests for the maxmin library */
-/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
double a = 1.0;
double b = 10.0;
- lmm::System Sys(false);
+ lmm::MaxMin Sys(false);
lmm::Constraint* L1 = Sys.constraint_new(nullptr, a);
lmm::Constraint* L2 = Sys.constraint_new(nullptr, b);
lmm::Constraint* L3 = Sys.constraint_new(nullptr, a);
static void test2()
{
- lmm::System Sys(false);
+ lmm::MaxMin Sys(false);
lmm::Constraint* CPU1 = Sys.constraint_new(nullptr, 200.0);
lmm::Constraint* CPU2 = Sys.constraint_new(nullptr, 100.0);
A[13][14] = 1.0;
A[14][15] = 1.0;
- lmm::System Sys(false);
+ lmm::MaxMin Sys(false);
/* Creates the constraints */
std::array<lmm::Constraint*, 15> tmp_cnst;