Skip to content

wanyifu/Mosek-Java-Fusion-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mosek-Java-Fusion-Example

This program solves the following problem ( Credit to Midterm 2, Spring 2013, CS 170 by Prof.Rao for good taste of story)

  1. It’s peacetime. Mulan wishes to manufacture rocket fireworks, or snake fireworks. She needs 1 unit of black gunpowder and 2 units white gunpowder for a rocket firework and 2 units of black gunpowder and 2 unit of white gunpowder for a snake firework. She makes $ 3 for each rocket and $ 4 for each snake. And has 150 units of black gunpowder and 200 units of white gunpowder. She determines that she should make 50 rocket fireworks, and 50 snake fireworks. Either find a better way for Mulan to choose what to manufacture or prove that she has done the best possible thing. (Hint: she is making 350 dollars.) Due to license issue, only programs written by myself will be pushed here.

The program can be run with the following procedures: Download the complete Mosek Package and set up environment correctly. Place the java files in this folder to your /mosek/7/tools/examples/fusion/java Open terminal, cd to this folder. type "bash build.sh" type "bash run.sh [filename]"

About

Due to license issue, only programs written by myself will be pushed here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages