Skip to content

Instantly share code, notes, and snippets.

View arika0093's full-sized avatar

arika arika0093

  • Gumma, Japan
  • 04:45 (UTC +09:00)
View GitHub Profile
@arika0093
arika0093 / glpk_worker.js
Created December 1, 2017 08:40
glpk.js Worker-side Program
importScripts('https://cdn.rawgit.com/hgourvest/glpk.js/cda36a4e/dist/glpk.min.js');
var lp;
self.addEventListener('message', function(e) {
function log(value){
self.postMessage({action: 'log', message: value});
}
glp_set_print_func(log);