End-to-end Procedural Material Capture With Proxy-free Mixed-integer Optimization Error: Cannot create object