https://github.com/sueda/eol-cloth
Raw File
Tip revision: cc8f24eef81283c541b859c05dd8ceed7813271f authored by Shinjiro Sueda on 15 October 2019, 01:48:02 UTC
Update README.md
Tip revision: cc8f24e
main.cpp
#include <iostream>
#include <time.h>

#ifdef EOLC_MOSEK
#include "external\SolverWrappers\Mosek\QuadProgMosek.h"
#endif

#ifdef EOLC_GUROBI
#include "external\SolverWrappers\Gurobi\Gurobi.h"
#endif

#include "conversions.h"

#include "runner.h"

using namespace std;
using namespace Eigen;

int main(int argc, char **argv)
{
	if (argc < 3) {
		cout << "Usage: " << endl;
		cout << "	" << argv[0] << "<general setting> <simulation settings>" << endl;
		cout << "where the settings arguments are json file" << endl;
		cout << endl << "Refer to the examples and json templates for further details" << endl;
		return 0;
	}

	srand(time(NULL));
    
	start_running(argv[1], argv[2]);

    return 0;
}
back to top